Pan-Slavism, a movement which crystallized in the mid-19th century, is the political ideology concerned with the advancement of integrity and unity for the Slavic peoples. Its main impact occurred in the Balkans, where non-Slavic empires—the Byzantine Empire, Austria-Hungary, the Ottoman Empire, and Venice—had ruled the South Slavs for centuries.
Extensive Pan-Slavism began much like Pan-Germanism, both of which grew from the sense of unity and nationalism experienced within ethnic groups after the French Revolution and the consequent Napoleonic Wars against European monarchies. Like other Romantic nationalist movements, Slavic intellectuals and scholars in the developing fields of history, philology, and folklore actively encouraged the passion of their shared identity and ancestry. Pan-Slavism also co-existed with the Southern Slavic independence.
Commonly used symbols of the Pan-Slavic movement were the Pan-Slavic colours (blue, white and red) and the Pan-Slavic anthem, Hey, Slavs.
The first pan-Slavists were the 16th-century Croatian writer Vinko Pribojević and the 17th-century Aleksandar Komulović, Bartol Kašić, Gundulić and Croatian Catholic missionary Juraj Križanić. Some of the earliest manifestations of Pan-Slavic thought within the Habsburg Monarchy have been attributed to Adam Franz Kollár and Pavel Jozef Šafárik. The movement began following the end of the Napoleonic Wars in 1815. In the aftermath, the leaders of Europe sought to restore the pre-war status quo. At the Congress of Vienna, Austria's representative, Prince von Metternich, felt the threat to this status quo in Austria was the nationalists demanding independence from the empire. While their subjects were composed of numerous ethnic groups (such as Italians, Romanians, Hungarians, etc.), most of the subjects were Slavs.