Is "to" a preposition or infinitive in this sentence?

In 1901 Guglielmo Marconi transmitted the Morse code for the letter S (dot-dot-dot) from England to Newfoundland, marking the beginning of the radio.