Born on 9 June 1640 in
Vienna, Leopold received the traditional program of education in the
liberal arts, history, literature, natural science and astronomy. He was particularly interested in music, as his father Emperor Ferdinand III had been. From an early age Leopold showed an inclination toward learning. In addition to his native
German, he became fluent in
Latin,
Italian and
Spanish. Leopold disdained the German language and preferred to speak and read in Italian, which was the language most often spoken at his court and used in his official correspondence; in 1656 he founded an Italian literary academy in Vienna. Although some historian have noted this disdain of German to be exaggerated. Likewise he had received comprehensive ecclesiastical training as he had originally been selected for a career in the higher clergy. This plan, though, was dropped upon the 1654 death of his older brother,
Ferdinand IV, when Leopold became heir apparent. Nonetheless, Leopold's spiritual education had had a manifest impact on him. Leopold remained under the spell of his clerical education and
Jesuit influence throughout his life. For a monarch he was uncommonly knowledgeable about theology, metaphysics, jurisprudence and the sciences. He also retained his interest in
astrology and
alchemy which he had developed under Jesuit tutors. Spielman argues that his long-expected career in the clergy caused Leopold to have "early adopted the intense Catholic piety expected of him and the gentle manners appropriate to a merely supporting role. He grew to manhood without the military ambition that characterized most of his fellow monarchs. From the beginning, his reign was defensive and profoundly conservative." Elected king of
Hungary in 1655, he followed suit in 1656 and 1657 in
Bohemia and
Croatia, respectively. In July 1658, more than a year after his father's death, Leopold
was elected Holy Roman Emperor at
Frankfurt in opposition to the French
Cardinal Mazarin, who sought to place the Imperial Crown on the head of
Ferdinand Maria, Elector of Bavaria or some other non-Habsburg prince. To conciliate
France, which had considerable influence in German affairs thanks to the
League of the Rhine, the newly elected emperor promised not to assist Spain, then at
war with France. This marked the beginning of a nearly 47-year reign characterized by a lasting rivalry with France and its king,
Louis XIV. The latter's dominant personality and power completely overshadowed Leopold, even to this day, but Leopold was no less a warrior-king given the greater part of his public life was directed towards the arrangement and furtherance of wars. ==Second Northern War==