“Toompea Castle’s predecessor, an ancient Estonian stronghold, had been in use since at least the 9th century AD. In 1219, the castle was taken over by Denmark’s crusaders, led by king Valdemar II. According to a popular Danish legend, the flag of Denmark (Dannebrog) fell from the sky during a critical stage of the battle (known as the Battle of Lindanise). This first proper castle was referred to as the ‘Castle of the Danes’, in Latin castrum danorum and in contemporary archaic Estonian taani linna. From the latter, the modern name of the city of Tallinn is possibly derived.”