Veliko Tarnovo is one of the oldest settlements in Bulgaria, having a history of more than 5 millennia, as the first traces of human presence dating from the 3rd millennium BC are on Trapezitsa Hill. The historical part of town, which was the capital of Bulgaria during the Second Bulgarian Empire, lies on three hills – Tsarevets, Trapezitsa and Sveta Gora (Holy Mountain). Veliko Tarnovo is the place where brothers Asen and Peter declared the end of Byzantine rule in Bulgaria, proclaiming the city a capital. Veliko Tarnovo grew quickly to become the strongest Bulgarian fortification of the Middle Ages between the 12th and 14th century and the most important political, economic, cultural and religious centre of the empire. In the 14th century as the Byzantine Empire weakened Tarnovo claimed to be the Third Rome based on its preeminent cultural influence in the Balkans and the Slavic Orthodox world. On 7 July 1877, Russian general Joseph Vladimirovich Gourko liberated Veliko Tarnovo, ending the 480-year-rule of the Ottoman Empire. In 1878, the Treaty of Berlin created a Principality of Bulgaria between the Danube and the Stara Planina range, with its seat at the old Bulgarian capital of Veliko Tarnovo. One of Bulgarias primary tourist destinations, Veliko Tarnovo boasts many historical monuments and landmarks, such as the ruins of the castle Tsarevets on the hill of the same name, which housed the royal and patriarchal palace, and Trapezitsa, the second fortress of the inner city on the right bank of Yantra. Other attractions are the St Demetrius of Thessaloniki Church, St Forty Martyrs Church, the numerous Bulgarian National Revival buildings with their typical architecture, many museums on various topics.