Franz Joseph I of Austria (1830 to 1916) was the longest-reigning Habsburg emperor, ruling for 68 years from 1848 to 1916; his was the fourth-longest recorded reign of any European monarch, following King Louis XIV of France, Queen Elizabeth II of the UK, and Johann II of Liechtenstein. During Franz Joseph's reign, he served as the Emperor of Austria and King of Hungary.

He was the sovereign of the Archduchy of Austria that included Upper and Lower Austria, the Kingdom of Bohemia, Moravia, and Silesia, the Kingdom of Galicia and Lodomeria, the Duchy of Bukovina, the Duchy of Styria, Carinthia, and Carniola, the Austrian Littoral regions of Trieste, Gorizia, and Istria, the Counties of Tyrol and Vorarlberg, and Dalmatia. These regions were known as Cisleithania or the Austrian Lands. He was also sovereign of the Kingdom of Hungary, the Kingdom of Croatia-Slavonia, and Transylvania, which were termed Transleithania or the Hungarian lands. Also, during his reign, the occupied territories of Bosnia and Herzegovina came under his rule in 1878, and they were formerly annexed to his monarchy in 1908.

Emperor Franz Joseph's reign was marked by several key transformations as the Habsburg realms slowly moved from being an empire into a series of nation-states. Although Franz Joseph was the penultimate Habsburg emperor, he became so identified with the Habsburg empire that his death represented to many of his subjects the foreboding of the empire's demise in 1918.

Although the nephew of his predecessor, Emperor Ferdinand I (1793 to 1875), Franz Joseph was destined to be emperor because it became clear by 1831, a year after his birth on 18 August 1830, that Ferdinand's marriage would not produce children. Franz Joseph was the son of Ferdinand's next eldest brother, Archduke Franz Karl (1802 to 1878), and Princess Sophie of Bavaria (1805 to 1872). His mother endeavoured to bring up Franz Joseph, or "Franzi" as she called him, in such a way that he could succeed his uncle and was properly prepared for the imperial office. His education was conservative and strict, and the man who emerged from this training was hardworking, obstinate, and earnest, but not very intellectually curious or smart. He was very courageous and militarily inclined, showing a preference for wearing a uniform.

His uncle Ferdinand I abdicated the throne in 1848 to end the Hungarian Revolution of 1848, and Franz Joseph ascended the throne at 18 years of age. He had a chance to show off his military capabilities during Italian campaigns in 1848 and Hungarian campaigns in 1849. He retained the view throughout his life that military might was the kernel of the state and the monarchy. By 1852, Franz Joseph had been moulded into a self-confident and handsome monarch.

In 1854, after a stormy courtship, he married his first cousin, Duchess Elisabeth of Bavaria (1837 to 1898), who was known by her nickname Sisi. The marriage would not be a very happy one, as Franz Joseph's affections were one-sided. In any case, together, they had four children, including Sophie, Gisela, Rudolf, and Marie Valerie. There was a lot of tension between Elisabeth and her mother-in-law, especially in matters of raising the children, and Elisabeth found court life suffocating. She developed a close relationship with Hungary, which had a more relaxed environment.

In 1885, Franz Joseph developed a deep platonic friendship with an actress, Katharina Schratt (1853 to 1940), which would last the rest of his life; he built a villa and a small palace for her. In 1889, the crown prince, Rudolf, committed suicide, and Elisabeth never recovered from the shock of this incident. She became obsessed with maintaining her youth and beauty and developed a restricted diet and wore tight-laced corsets. She also began travelling unaccompanied by family members. In 1898, in Geneva, she was fatally stabbed in the heart by an Italian anarchist. Still, she had reigned for 44 years by that time, and that was the longest reign of any Austrian empress.

It was clear from the start of his reign that although he was a very conscientious ruler, he was a reactionary who resisted constitutionalism in his domains. Not a deep thinker, he was basically a good bureaucrat and very religious in his outlook. He saw himself as an absolute ruler responsible for preserving the status of Roman Catholicism, in his mind, the one true religion. When he ascended the throne, he added the name Joseph to his reigning name, making it Franz Joseph, to signify the 'liberal' aspect of the Habsburg rule that aligned with Joseph II, Holy Roman Emperor (1741 to 1790), and also to emphasize the legitimacy, order, and continuity inherited from his grandfather Francis II, Holy Roman Emperor (aka Francis I of Austria, 1768 to 1835). Indeed, his reign was characterized by a combination of the conservative absolutism of Francis II and a more radical approach that Joseph II embodied.

When Franz Joseph ascended the throne, the Habsburg Empire was in the throes of the Revolutions of 1848, or Springtime of the Peoples. The revolutions were spurred by widespread economic recessions, rising dissatisfaction with political repression of conservative monarchies, and the spread of liberalism and nationalism. In the Habsburg realm, within the lands of Austria and Hungary, these revolutions were suppressed with Ferdinand I's abdication, but Franz Joseph still needed to deal with the causes of the revolution. In the first decade as emperor, Franz Joseph embarked on what has come to be known as "revolution from above." The emperor valued aristocracy as, next to the military, the most loyal sector of Habsburg society. He was suspicious of the middle classes, and therefore, the imperial court became more exclusive, and the military became staffed with officers from the nobility. For domestic policy, however, he relied on the Minister of Interior Baron Alexander von Bach (1813 to 1893).

Formerly a liberal revolutionary, Bach's name would come to represent the era known as neo-absolutism, that is, the imposition of modernity through the absolute power of the state. Although Bach imposed the very reforms that liberals had wanted in 1848, he was still accused by many contemporaries of betraying the liberal cause. The 1848 revolutions had put into effect the complete emancipation of the peasantry, and Bach did not stop that. Agriculture in the Habsburg realm became much more modern, free of feudal restrictions, and therefore more reliant on market forces. One of Bach's central purposes was to rejuvenate and expand the Habsburg bureaucracy to extend the state's direct presence at the lower level. Bach devised a new hierarchy of governmental institutions starting with central government in Vienna, the province, and then the county, and introduced a level known as the district. He broke up Inner Hungary and Croatia into five provinces and introduced the Austrian bureaucratic system, doing away with traditional forms. The intent was to create a unified, uniform, and centralized administration under the Habsburg state.

German became the mediating lingua franca of Austrian modernity, with bureaucrats adopting it as the internal language of bureaucracy and the external language in which officials communicated with citizens, including vernacular languages in localities where the vernacular predominated. The new officials represented the multinationality of the monarchy. Although they had to learn German, Czechs, Hungarians, and other groups entered bureaucracy at varying levels. The education system received similar modernising overhauls. Modelled on the Prussian education system, many German liberals were imported to fill university posts, giving the education system a distinct liberal thrust, even though the monarchy itself was largely conservative.

By 1859, neo-absolutism was effective in modernizing many aspects of Austrian life, but it had also fostered various forces that would bring it down. Economic prosperity in the educated middle classes increased their social confidence and political frustrations. However, what really brought down the whole system were foreign policy and the military.

The first major international crisis during Franz Joseph's reign was the Crimean War (1853 to 1856), which had its origins in the dispute between France and Russia over holy places in Jerusalem. This dispute snowballed into a standoff between Russia on the one side and Turkey, with its allies France and Britain, on the other. Franz Joseph was caught in between, and he participated in both diplomatic and military encounters. Being armed as well as staying neutral ended up alienating both sides. From a short-term perspective, Austria came out of the Crimean War looking well, having not engaged in any war, but because all its allies had been alienated, Austria was in a weak position should a new crisis arise. Franz Joseph did not feel the need to make new friends or patch up old relationships.

The second crisis came in April 1859 when, upon provocation from the French (which Franz Joseph took as an affront to his honour and therefore would not let slide), Austria declared war on the Italian region of Piedmont. The financial crisis for the Habsburg monarchy and the massive casualties that resulted from the war caused the entire system of neo-absolutism devised by Bach to crash. As a result, Franz Joseph's power within the Habsburg realm was no longer absolute, and, outside the realm, the monarchy's position was hugely diminished.

For the populace, however, there was a degree of stability and peaceful development that was established by 1867. Firstly, the government began to include nationalists from all nationalities and members of the propertied middle classes, principally Jews. Various political factions agreed that Austria needed to become a liberal, constitutional state, remain part of Germany, and that Germans should remain the hegemonic group in Austria. The October Diploma of 1860 was the first step towards this, designed to shift the government away from absolute central rule towards aristocratic federalism. The Diploma was followed by the February Patent of 1861, which established a centralized, constitutional, bicameral parliamentary system in the empire.

The argument that Germans should remain the hegemonic group formed the basis of Austrian foreign policy, that is, the reassertion of Austrian influence over Germany. Franz Joseph eagerly supported this, but this also meant rivalry with Prussia. Franz Joseph managed to convince a majority of German princes to back Austrian plans to create a German government under his presidency, but the problem was that the foreign minister of Prussia, Otto von Bismarck (1815 to 1898), did not agree, and no one on the Austrian side could pressure him. Franz Joseph refused to show any flexibility to Prussia, and Prussia argued that the Austrians would not show any inclusion of other leaders of Germany either. The disagreement manifested during the Schleswig-Holstein occupation of 1864.

The Schleswig-Holstein issue started in the early half of the 19th century. The King of Denmark ruled over a Danish fief of Schleswig and Holstein until 1815. After 1815, Holstein joined the German Confederation that was created after Napoleon dissolved the Holy Roman Empire in Central Europe. In 1848, German residents in Schleswig revolted against Danish plans to integrate the fief into their state, and Prussian and German Confederation troops entered the region to fight the Danish forces. However, the region returned to its status quo of being under the Danish crown. When Denmark pushed a November Constitution in 1863 to tie Schleswig to Denmark, Prussia and Austria invaded and occupied Schleswig and Holstein, and Denmark ceded the regions to Prussia and Austria in 1864. But the joint administration of the region broke down in 1866 during the Seven Weeks' War between Prussia and Austria, during which Prussia annexed the entirety of Schleswig and Holstein.

The real purpose of the Prussian takeover was the expulsion of Austria from German affairs, which Prussia accomplished with the Peace of Prague of 1866. Under the terms of this treaty, the German Confederation was dissolved, and Prussia annexed the North German states of Hanover, Hesse-Cassel, Nassau, and Frankfurt, creating a North German Confederation.

Although the February Patent of 1861 created a parliamentary system, it was opposed by non-German nationalities, such as the Hungarians and the Czechs, for its centralist nature. In 1865, the constitutional framework of the February Patent was suspended. The defeat of Austria by Prussia left Austrian Germans unsure of their dominance within the empire, and it emboldened the Hungarians to resist the absolutist rule that had been imposed on them. In 1867, to satisfy the aspirations of both Germans and Hungarians, a document was drawn up known as the Austro-Hungarian Compromise that created a Dual Monarchy by dividing Austria (Cisleithania) and Hungary (Transleithania) into two semi-independent states, each with its own constitution, parliament, and prime minister.

Both halves shared Franz Joseph as their monarch and had joint ministries of foreign affairs and defence. The Compromise would be the prevailing characteristic of the rest of Franz Joseph's reign. While it deepened internal instability and ethnic tensions because it ignored other minority groups such as the Czechs, Slovaks, Romanians, and South Slavs, and all groups now sought to emulate it, it also triggered industrial growth and cultural flowering, especially in the Austrian capital of Vienna and the Hungarian capital of Budapest.

The Compromise created space for liberalism to flourish. Liberal economic policies facilitated a period known as Gründerjahre (Founder Years), which saw the rapid rise of private investments and a spate of construction. Under the sway of this prosperous optimism, governments of both Austria and Hungary adopted radical reforms in religion and education that would in turn give rise to nationalism.

In Vienna, the Ringstrasse, the ring of boulevards surrounding the inner city, opened in 1865, and by the 1870s, it became representative of the liberal era with its prestigious private buildings, hotels, and avenues. In 1873, the World Exhibition made Vienna a world city. However, economic depression and the Panic of 1873 hit Austria-Hungary particularly hard. The economy recovered by 1876, but the crash had ideological and cultural repercussions. It marked the end of the liberal era, and a certain degree of fatalism certainly crept into the Austrian psyche. Liberals were increasingly replaced by nationalists.

These changes within Austria-Hungary were also affected by developments outside its borders. In the mid-1870s, a series of violent rebellions against Ottoman rule erupted in the Balkans. The Ottoman Empire responded to them with violent repression. To stabilize the Balkans, in 1878, the Congress of Berlin, chaired by Bismarck, assigned Austria-Hungary the powers to administer the Ottoman provinces of Bosnia and Herzegovina. Although these regions remained under Ottoman sovereignty, the administration shifted entirely to Vienna. The liberals in Austria-Hungary were crushed over the issue by 1879, and Franz Joseph, being staunchly conservative, was eager to be rid of them.

Nationalism rose among the middle classes in the 1880s, but other movements such as anti-Semitism, socialism, and Marxism also emerged. Schools became the main arena for nationalist groups to fight for their identity. Anti-Semitism also reared its head most insidiously in such politicians as Vienna's mayor from 1897 to 1910, Karl Lueger (1844 to 1910). Mass politics did not accommodate subtleties of minorities and rejected individual rights independent of nations. Therefore, we also see in this milieu of immense ferment, Jews becoming nationalists as well. Zionism, whose founder was the Hungarian Jewish journalist and lawyer Theodor Herzl (1860 to 1904), was born in the context of mass politics in Austro-Hungary in the last decade of the 19th century.

To deal with the growing discontent, Austrian Minister-President Count Kasimir Felix Badeni (1846 to 1909) issued two language ordinances in 1897 that made Czech an official language alongside German in administration and courts of Bohemia and Moravia. German nationalists, considering the ordinances a threat, protested and rioted on the streets. The dispute caused chaos and parliamentary obstruction. Finally, Franz Joseph dismissed Badeni in the same year and repealed the ordinances in 1899, but the Badeni crisis left deep ethnic divisions within Austria-Hungary.

Although internally destabilized, Austria-Hungary also witnessed a period of profound intellectual and cultural development. Especially in Vienna, modernist artists such as Gustav Klimt (1862 to 1918) and pathbreaking medical experts such as Sigmund Freud (1856 to 1939) would push forward new ways of thinking. While some historians argue that the collapse of the monarchy might not have been inevitable, a special combination of circumstances nevertheless led to the First World War (1914 to 18).

In 1908, Austria-Hungary formally and unilaterally annexed the Ottoman-controlled Bosnia-Herzegovina. The Treaty of Berlin was formally amended in 1909, recognizing the annexation. The crisis that this sparked would lead to the assassination of Archduke Franz Ferdinand (1863 to 1914) and his wife Sophie (1868 to 1914) in Sarajevo, Bosnia. This would ultimately escalate into World War I. The causes of World War I remain highly debated among historians. While eyewitness accounts claim that Franz Joseph was pressured into going to war, evidence suggests that he saw war as the only way to preserve his authority and wanted to deal with any threats to it through war.

Franz Joseph died shortly before the sixty-eighth year of his ascension to the throne in November 1916, completely isolated in his stance. His successor was Franz Ferdinand's nephew, the 29-year-old Charles I of Austria (aka Charles IV as King of Hungary, 1887 to 1922), who tried his utmost to control the deepening economic and military crisis Austria-Hungary faced during the First World War. Finally, he recognized various nationalist factions to determine their right to form a state and relinquished participation in the administration of the state. Although he never formally stated he was abdicating so as to leave the option open for the peoples of Austria and Hungary to recall him, it was, for all intents and purposes, an abdication, and the Habsburg monarchy was formally abolished in November 1918. The death of Franz Joseph therefore represented not only the death of the ultimate Habsburg monarch, but also the dissolution of the entire empire.