History
Tallinn began as the Estonian hill fort of Lindanise on Toompea, taken by Valdemar II of Denmark in June 1219 — the battle in which, by Danish legend, the Dannebrog fell from the sky — and the city's Estonian name is usually read as Taani linn, "Danish castle". Under Lübeck law from 1248, and as a Hanseatic port, German-speaking Reval grew rich on the trade between Novgorod and the west. The Estonians' last great rising, the St George's Night revolt of 1343, began in the villages of Harju; once it was crushed, Denmark sold the north to the Teutonic Order in 1346. Haapsalu, meanwhile, was the seat of the bishops of Ösel-Wiek, who ruled the west coast and the islands from its castle.
Sweden took the north in 1561 and held it until the Great Northern War. That war opened at Narva, where Charles XII routed a much larger Russian army in a snowstorm in November 1700; Peter the Great returned to storm the town in 1704, and plague-stricken Tallinn surrendered in 1710. On Hiiumaa, about a thousand Swedish-speaking peasants were ordered off the island in 1781 to settle in Ukraine. The railway from St Petersburg arrived in the 19th century, and the Kreenholm cotton mill at Narva, founded in 1857, became one of the largest in the world.
Independence was proclaimed in Tallinn on 24 February 1918. In 1944 Soviet bombers burned part of the capital and the fighting on the Narva front levelled baroque Narva, which was rebuilt as an industrial town and resettled largely from Russia. Oil-shale mines and power stations spread across Ida-Viru, and Sillamäe, which processed uranium, and the submarine base of Paldiski became closed towns. In September 1988 some 300,000 people sang banned national songs at the Tallinn Song Festival Grounds, the high point of the Singing Revolution.
