Question: Which Holy Roman Emperor did Raphael Sobiehrd-Mnishovsky of Sebuzin and of Horstein serve under?
Context: Raphael Sobiehrd-Mnishovsky of Sebuzin and of Horstein (1580 – 21 November 1644) was a Bohemian lawyer and writer, who held various secretarial, diplomatic, and judicial posts under Rudolf II, Mathias, Ferdinand II, and Ferdinand III, under whom Raphael was the attorney-general. The Concordat of Worms (Latin: "Concordatum Wormatiense" ), sometimes called the Pactum Calixtinum by papal historians, was an agreement between Pope Calixtus II and Holy Roman Emperor Henry V on September 23, 1122, near the city of Worms.  It brought to an end the first phase of the power struggle between the Papacy and the Holy Roman Emperors and has been interpreted as containing within itself the germ of nation-based sovereignty that would one day be confirmed in the Treaty of Westphalia (1648).  In part this was an unforeseen result of strategic maneuvering between the Church and the European sovereigns over political control within their domains.  The King was recognised as having the right to invest bishops with secular authority ("by the lance") in the territories they governed, but not with sacred authority ("by ring and staff").  The result was that bishops owed allegiance in worldly matters both to the pope and to the king, for they were obliged to affirm the right of the sovereign to call upon them for military support, under his oath of fealty.  Previous Holy Roman Emperors had thought it their right, granted by God, to name Church officials within their territories (such as bishops) and to confirm the Papal election (and, at times of extraordinary urgency, actually name popes).  In fact, the Emperors had been heavily relying on bishops for their secular administration, as they were not hereditary or quasi-hereditary nobility with family interests.  A more immediate result of the Investiture struggle identified a proprietary right that adhered to sovereign territory, recognising the right of kings to income from the territory of a vacant diocese and a basis for justifiable taxation.  These rights lay outside feudalism, which defined authority in a hierarchy of personal relations, with only a loose relation to territory.  The pope emerged as a figure above and out of the direct control of the Holy Roman Emperor. Maria Josepha of Bavaria (Marie Josephe Antonie Walburga Felicitas Regula, 20 March 173928 May 1767) was Holy Roman Empress, Queen of the Romans, Archduchess of Austria, Grand Duchess of Tuscany, etc. by her marriage to Joseph II, Holy Roman Emperor.  By birth, she was a Princess and Duchess of Bavaria as the daughter of Charles VII, Holy Roman Emperor, Elector of Bavaria, and Archduchess Maria Amalia of Austria. The monarchs of Prussia were members of the House of Hohenzollern who were the hereditary rulers of the former German state of Prussia from its founding in 1525 as the Duchy of Prussia.  The Duchy had evolved out of the Teutonic Order, a Roman Catholic crusader state and theocracy located along the eastern coast of the Baltic Sea.  The Teutonic Knights were under the leadership of a Grand Master, the last of whom, Albert, converted to Protestantism and secularized the lands, which then became the Duchy of Prussia.  The Duchy was initially a vassal of the Kingdom of Poland, as a result of the terms of the Prussian Homage whereby Albert was granted the Duchy as part of the terms of peace following the Prussian War.  When the main line of Prussian Hohenzollerns died out in 1618, the Duchy passed to a different branch of the family, who also reigned as Electors of Brandenburg in the Holy Roman Empire.  While still nominally two different territories, Prussia under the suzerainty of Poland and Brandenburg under the suzerainty of the Holy Roman Empire, the two states are known together historiographically as Brandenburg-Prussia.  Following the Second Northern War, a series of treaties freed the Duchy of Prussia from any vassalage to any other state, making it a fully sovereign Duchy in its own right.  This complex situation (where the Hohenzollern ruler of the independent Duchy of Prussia was also a subject of the Holy Roman Emperor as Elector of Brandenburg) laid the eventual groundwork for the establishment of the Kingdom of Prussia in 1701.  For diplomatic reasons, the rulers of the state were known as the King in Prussia from 1701 to 1772; largely because they still owed fealty to the Emperor as Electors of Brandenburg, the "King in Prussia" title (as opposed to "King of Prussia") avoided offending the Emperor.  As the Prussian state grew through several wars and diplomatic moves throughout the 18th century, it became apparent that Prussia had become a Great Power that did not need to submit meekly to the Holy Roman Empire.  By 1772, the pretense was dropped, and the style "King of Prussia" was adopted.  Thus it remained until 1871, when in the aftermath of the Franco-Prussian War, the King of Prussia Wilhelm I was crowned German Emperor.  From that point forward, though the Kingdom of Prussia retained its status as a constituent state of the German Empire, all remaining Kings of Prussia also served as German Emperor, and that title took precedence. Rudolf II (18 July 1552 – 20 January 1612) was Holy Roman Emperor (1576–1612), King of Hungary and Croatia (as Rudolf I, 1572–1608), King of Bohemia (1575–1608/1611) and Archduke of Austria (1576–1608).  He was a member of the House of Habsburg. Maria Amalia of Austria (Maria Amalie Josefa Anna; 22 October 1701 – 11 December 1756) was Holy Roman Empress, Queen of the Germans, Queen of Bohemia, Electress and Duchess of Bavaria etc. as the spouse of Charles VII, Holy Roman Emperor.  By birth, she was an Archduchess of Austria as the daughter of Joseph I, Holy Roman Emperor and Wilhelmine Amalia of Brunswick-Lüneburg. Holy Roman Empress or Empress of the Holy Roman Empire is the title given to the consort (wife) or regent of the Holy Roman Emperor.  The elective dignity of Holy Roman Emperor was restricted to males only, therefore there was never a Holy Roman Empress regnant, though women such as Theophanu or Maria Theresa of Austria, who controlled the power of rule, served as de facto Empresses regnant. Karl Anselm, 4th Prince of Thurn and Taxis, full German name: "Karl Anselm Fürst von Thurn und Taxis" (2 June 1733, Frankfurt am Main, Free Imperial City of Frankfurt, Holy Roman Empire – 13 November 1805, Winzer bei Regensburg, Electorate of Bavaria, Holy Roman Empire) was the fourth Prince of Thurn and Taxis, Postmaster General of the Imperial Reichspost, and Head of the Princely House of Thurn and Taxis from 17 March 1773 until his death on 13 November 1805.  Karl Anselm served as "Prinzipalkommissar" at the Perpetual Imperial Diet in Regensburg for Joseph II, Holy Roman Emperor and Francis II, Holy Roman Emperor from 1773 to 1797. Leopold I (name in full: "Leopold Ignaz Joseph Balthasar Felician"; Hungarian: "I. Lipót" ; 9 June 1640 – 5 May 1705) was Holy Roman Emperor, King of Hungary, Croatia, and Bohemia.  The second son of Ferdinand III, Holy Roman Emperor, by his first wife, Maria Anna of Spain, Leopold became heir apparent in 1654 by the death of his elder brother Ferdinand IV.  Elected in 1658, Leopold ruled the Holy Roman Empire until his death in 1705. Gerasim Zelić (Serbian: Герасим Зелић ; 1752–1828) was a renowned Serbian Orthodox Church archimandrite, traveller and writer (a contemporary and compatriot of Dositej Obradović).  His chief work is "Žitije" (Lives), in three volumes.  They are memoirs of his travels throughout western Europe, Russia and Asia Minor from the latter half of the 18th century to the first decade of the 19th century and the famous personalities (Napoleon, Prince Eugène, Viceroy of Naples, Joseph II, Holy Roman Emperor, Leopold II, Holy Roman Emperor, Francis II, Holy Roman Emperor, Semyon Zorich, Catherine the Great, Alexander I of Russia, Stanisław August Poniatowski, Dositej Obradović) he met.  He had valuable original notes on people, religions, manners, customs, trade, etc.
Answer: Rudolf II