In the 1670s many scholars, Descartes among them, held that light arrives everywhere at once. Ole Rømer, a Danish astronomer working at the Paris Observatory since 1672, had a reason to doubt it. The observatory timed the eclipses of Io, the innermost of Jupiter's four big moons, which disappears into Jupiter's shadow and comes out again every 42 and a half hours. Those eclipses were meant to be a clock in the sky, but the clock did not keep time.
Rømer noticed a pattern in eight years of observations. When Earth was moving away from Jupiter, Io came out of the shadow later than the timetable said. When Earth was moving towards Jupiter, it came out early. His explanation was simple. The light from Io had farther to travel on some nights, and travelling takes time.
At the beginning of September 1676 he told the Académie des Sciences that the emersion of Io due on 9 November would be about 10 minutes later than expected. According to the English translation printed by the Royal Society in 1677, Io was seen at Paris that night at 5 hours 35 minutes 45 seconds, 10 minutes later than the tables gave. On 21 November 1676 Rømer explained his reasoning to the Académie, and a summary appeared in the Journal des Sçavans that December.
Rømer never wrote down a speed. He said light needs about 22 minutes to cross the diameter of Earth's orbit. Christiaan Huygens later turned his figures into a speed of about 212,000 kilometres per second. The true value is 299,792 kilometres per second, and light actually crosses Earth's orbit in about 16 and a half minutes, so Rømer's number was too slow by about a quarter. What mattered was the idea that light takes time at all.
Not everyone agreed. Giovanni Domenico Cassini, the best known astronomer at the observatory, argued against Rømer's explanation, and so did Robert Hooke in London. The debate only ended in 1728, when James Bradley measured the aberration of starlight and got a speed within about one percent of the modern value.