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?

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. <SEP> 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. <SEP> 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. <SEP>  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. 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.