Question: Which ruler of the Holy Roman Empire is the oldest highschool in Lviv Ukraine based on the order of?
Context: The German Emperor (German: Deutscher Kaiser) was the official title of the head of state and hereditary ruler of the German Empire.  A specifically chosen term, it was used between the 18 January 1871 proclamation of King of Prussia and President of the North German Confederation Wilhelm I as ""Deutscher Kaiser"" and the official abdication of Wilhelm II on 28 November 1918.  The Holy Roman Emperor is sometimes also called "German Emperor" when the historical context is clear, as derived from the Holy Roman Empire's official post-1512 title of "Holy Roman Empire of the German Nation." Schönborn is a noble and mediatised former sovereign princely family from the former Holy Roman Empire.  Several members of the family have held high offices of the Roman Catholic Church and the Holy Roman Empire over the course of centuries, including as Bishops, Prince-Bishops, Cardinals and Prince-Electors.  In addition to several family members having been elected monarchs of ecclesiastical principalities—the Electorate of Mainz, the Prince-Bishopric of Würzburg, the Prince-Bishopric of Worms, the Prince-Bishopric of Speyer, the Electorate of Trier, and the Prince-Bishopric of Bamberg—the family possessed a fiefdom in Franconia that held imperial immediacy, and was thus a principality of the Holy Roman Empire, the state of Schönborn. The uniformity policy was the concept of implementing Swedish law to the dominions of Sweden during the latter's time as an empire.  It is symbolized by the slogan unus rex, una lex et grex unus ("one king, one law, one people") possibly coined by Johan Skytte, governor-general in Swedish Estonia, Ingria and Livonia.  However, the phrase is also found in the debates on the possible union of Scotland and England in 1607, when Sir Edwyn Sandys noted King James VI & I's view that for a perfect union there should be unus rex, unus grex, una lex.  Most notably, the uniformity policy aimed at abolishing serfdom then common in Estonia, Livonia and the Swedish dominons in the Holy Roman Empire (Ingermanland naturally had a free peasantry).  While implemented in Livonia against the will of the local Baltic German nobles, the Estonian and Pomeranian peasants remained serfs: Estonia had voluntarily submitted to Sweden and thus had been given leeway in keeping the traditional local law code, while Swedish Pomerania had retained its traditional law code when, on behalf of the then ruling Swedish high nobility, the Peace of Westphalia granted it to Sweden while remaining part of the Holy Roman Empire, and not in a formal cession which would have resulted in the implementation of Swedish law.  Swedish law was thus only introduced to Swedish Pomerania after the dissolution of the Holy Roman Empire in 1806. The Duchy of Württemberg (German: "Herzogtum Württemberg" ) was a duchy located in the south-western part of the Holy Roman Empire.  It was a member of the Holy Roman Empire from 1495 to 1806.  The dukedom's long survival for nearly four centuries was mainly due to its size, being larger than its immediate neighbors.  During the Protestant Reformation, Württemberg faced great pressure from the Holy Roman Empire to remain a member.  Württemberg resisted repeated French invasions in the 17th and 18th centuries.  Württemberg was directly in the path of French and Austrian armies who were engaged in the long rivalry between the House of Bourbon and the House of Habsburg.  In 1803, Napoleon raised the duchy to be the Electorate of Württemberg of the Holy Roman Empire, and when he abolished the Empire in 1806, the Electorate was elevated as the Kingdom of Württemberg. The Reichskammergericht (] , "Imperial Chamber Court"; Latin: "Iudicium imperii" ) was one of two highest judicial institutions in the Holy Roman Empire, the other one being the Aulic Council in Vienna.  It was founded in 1495 by the Imperial Diet in Worms.  All legal proceedings in the Holy Roman Empire could be brought to the Imperial Chamber Court, except if the ruler of the territory had a so-called "privilegium de non appellando", in which case the highest judicial institution was found by the ruler of that territory.  Another exception was criminal law.  The Imperial Chamber Court could only intervene in criminal cases if basic procedural rules had been violated. The Imperial Military Constitution (German: "Reichsheeresverfassung" , also called the "Reichskriegsverfassung") of the Holy Roman Empire, like the rest of the imperial constitution, grew out of various laws and governed the establishment of military forces within the Empire.  It was the basis for the establishment of the Army of the Holy Roman Empire ("Reichsarmee"), which was under the supreme command of the Emperor but was distinct from his Imperial Troops, as it could only be deployed by the Imperial Diet.  The last Imperial Defence Order ("Reichsdefensionalordnung"), entitled "Reichsgutachten in puncto securitatis", of 13/23 May 1681, completed the military constitution of the Holy Roman Empire. The Holy Roman Emperor (historically "Romanorum Imperator " "Emperor of the Romans") was the ruler of the Holy Roman Empire. 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. 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. Lviv Academic Gymnasium at the National University "Lviv Polytechnic" (ukr.  Львівська академічна гімназія) - the oldest high school in Lviv, Ukraine based on the order of Joseph II, Holy Roman Emperor, on October 24, 1784.  The building of Gymnasium located on the street Stepan Bandera, 14 on the left of the main building of Lviv Polytechnic.  Vasyl Il'nyts'ky was the first director of gymnasium.
Answer: Joseph II