Uranium took its name from a planet that was barely eight years old, and whose own name was still in dispute.
In 1781 William Herschel spotted a new planet. Etymonline calls it the first planet found that had not been known in ancient times. Herschel wanted to call it Georgium Sidus, "George's Star," after King George III. The astronomer Jérôme Lalande proposed "Herschel" instead.
The astronomer Johann Bode had another idea. Saturn was the father of Jupiter in mythology, so the next planet out should be named for the father of Saturn. That was Uranus, the Latinized form of Greek Ouranos, god of the heavens. The Greek word literally means "heaven, the sky."
Chemistry entered the argument in 1789. Martin Heinrich Klaproth, a German chemist and mineralogist, was analyzing pitchblende. The ore came from Johanngeorgenstadt in the Saxon Erzgebirge and from Joachimsthal in Bohemia. At the time pitchblende was thought to be an ore of zinc, iron or tungsten. Klaproth found a new element in it instead.
He named it uranium, after the newest planet. According to the Elementymology reference, this was a deliberate show of support for Bode's choice. The planetary name did not win everywhere at once. Britain's Nautical Almanac Office kept Georgium Sidus until 1850, when it finally switched to Uranus.
English adopted uranium by 1797. A century and a half later, the planetary pattern came back. The next two elements after uranium in the periodic table were named for the planets beyond Uranus.
In 1940 Edwin McMillan suggested neptunium for element 93, after Neptune. A 1942 report by Glenn Seaborg and Arthur Wahl explained it as "the first planet beyond Uranus." The same report proposed plutonium for element 94, after Pluto, "the second planet beyond Uranus." Klaproth's tribute to a new planet had started a sequence that ran right through the nuclear age.