Question: In the Battle of Głogów  the Imperial forces were under command of Holy Roman Emperor and the fourth and last ruler of the what dynasty?

Context paragraphs:
Henry V, Holy Roman Emperor: Henry V (German: "Heinrich V." ; 11 August 1081/86 – 23 May 1125) was King of Germany (from 1099 to 1125) and Holy Roman Emperor (from 1111 to 1125), the fourth and last ruler of the Salian dynasty.  Henry's reign coincided with the final phase of the great Investiture Controversy, which had pitted pope against emperor.  By the settlement of the Concordat of Worms, he surrendered to the demands of the second generation of Gregorian reformers.

Battle of Cingoli: The Battle of Cingoli was fought in 1250 between the forces of the Holy Roman Empire and the armies of the Guelphs and the Papal States, the area being so notable due to its nickname as "The Balcony of Marche".  The Imperial forces inflicted a crushing defeat on the Pope's factions.  After the battle, Frederick II, Holy Roman Emperor was smitten with leprosy, and Pope Innocent IV declared the illness to be an act of God.  This was most probably due to the Emperor's excommunication; a common threat and practice for subduing overconfident Catholic leadership.

List of monarchs of Prussia: 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.

Capitulation of Franzburg: The Capitulation of Franzburg (German: "Franzburger Kapitulation" ) was a treaty providing for the capitulation of the Duchy of Pomerania to the forces of the Holy Roman Empire during the Thirty Years' War.  It was signed on 10 November (O.S.) or 20 November (N.S.) 1627 by Bogislaw XIV, Duke of Pomerania and Hans Georg von Arnim, commander in chief of an occupation force belonging to the army of Ferdinand II, Holy Roman Emperor, led by Albrecht von Wallenstein.  While the terms of the capitulation were unfavourable for the Duchy of Pomerania already, occupation became even more burdensome when the occupation force did not adhere to the restrictions outlined in Franzburg.  Stralsund resisted with Danish, Swedish and Scottish support, another Danish intervention failed.  Imperial occupation lasted until Swedish forces invaded in 1630, and subsequently cleared all of the Duchy of Pomerania of imperial forces until 1631.

Battle of Parma: The Battle of Parma was fought on 18 February 1248 between the forces of Holy Roman Emperor Frederick II and the Guelphs.  The Guelphs attacked the Imperial camp when Frederick II was away.  The Imperial forces were defeated and much of Frederick's treasure was lost.

End of the Han dynasty: The end of the Han dynasty refers to the period of Chinese history from 189 to 220 AD, which roughly coincides with the tumultuous reign of the Han dynasty's last ruler, Emperor Xian.  During this period, the country was thrown into turmoil by the Yellow Turban Rebellion (184-205).  Meanwhile, the Han Empire's institutions were destroyed by the warlord Dong Zhuo, and fractured into regional regimes ruled by various warlords, some of whom were nobles and officials of the Han imperial court.  Eventually, one of those warlords, Cao Cao, was able to gradually reunify the empire, ostensibly under Emperor Xian's rule, but the empire was actually controlled by Cao Cao himself.  Cao Cao's efforts to completely reunite the Han empire were rebuffed at the Battle of Red Cliffs in 208 / 209, when his armies were defeated by the allied forces of Sun Quan and Liu Bei.  The Han dynasty formally ended in 220 when Cao Cao's son and heir, Cao Pi, pressured Emperor Xian into abdicating in his favour.  Cao Pi became the emperor of a new state, Cao Wei.  A year later, in response to Cao Pi's usurpation of the Han throne, Liu Bei declared himself emperor of Shu Han; and in 229, Sun Quan followed suit, declaring himself emperor of Eastern Wu.  The period from Emperor Xian's abdication in 220 to the partial reunification of China under the Jin dynasty in 265 was known as the Three Kingdoms era in Chinese history.

Battle of Głogów: The Battle of Głogów or Defense of Głogów (German: "Schlacht bei Glogau" , Polish: "Obrona Głogowa" ) was fought on 24 August 1109 at the Silesian town of Głogów, between the Kingdom of Poland and the Holy Roman Empire.  Recorded by the medieval chronicler Gallus Anonymus it is one of the most well known battles in Polish history.  The Polish forces were led by Duke Bolesław III Wrymouth, while the Imperial forces were under command of King Henry V of Germany.  Bolesław was victorious.

Karl Anselm, 4th Prince of Thurn and Taxis: 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.

Imperial Army (Holy Roman Empire): The Imperial Army (German: "Kaiserliche Armee" ), Imperial Troops ("Kaiserliche Truppen"), Exercitus Imperatoris Romani, or Imperialists ("Kaiserliche") for short, was a name used for several centuries, especially to describe soldiers recruited for the Holy Roman Emperor during the Early Modern Period.  The Imperial Army of the Emperor should not be confused with the Army of the Holy Roman Empire ("Reichsarmee"), which could only be deployed with the consent of the Imperial Diet.  The Imperialists effectively became a standing army of troops under the Habsburg emperor from the House of Austria, which is why they were also increasingly described in the 18th century as "Austrians", although its troops were recruited not just from the Archduchy of Austria but from all over the Holy Roman Empire of the German Nation.

Imperial Military Constitution: 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.

Supporting paragraphs: Battle of Głogów Henry V, Holy Roman Emperor
Answer: Salian