Active foreign policy (1147–1155)
Disputes among European powers led to the formation of two coalitions in the late 1140s. One alliance was formed by the Byzantine Emperor Manuel I Komnenos and Conrad III against Roger II of Sicily who had invaded Byzantine territories. Géza sided with Roger II and his allies, including the rebellious German prince, Welf VI and Uroš II of Serbia. Géza sent reinforcements to his brother-in-law, Grand Prince Iziaslav II, against Prince Vladimir of Chernigov in the spring of 1148. The Grand Principality of Serbia rebelled in 1149, forcing Emperor Manuel I to interrupt his preparations for an invasion of Southern Italy and invade Serbia in 1149. According to the emperor's panegyrist Theodore Prodromus, Hungarian forces supported the Serbs during the emperor's campaign. The Hypatian Codex says that Géza referred to his war against Emperor Manuel when excusing himself for refusing to send reinforcements to Iziaslav II whom Yuri Dolgorukiy, Prince of Suzdal, expelled from Kiev in August 1149. Hungarian auxiliaries supported Iziaslav II to reoccupy Kiev in the early spring of 1150, but before long Yuri Dolgorukiy expelled Iziaslav from the town. In autumn, Géza led his army against Volodimirko of Halych, who was Yuri Dolgorukiy's close ally. He captured Sanok, but Volodimirko bribed the Hungarian commanders, who persuaded Géza to leave Halych before November.
A "countless allied force of Hungarian cavalry as well as of the heterodox Chalisoi" had supported the Serbs in the same year, according to the contemporaneous John Kinnamos, but the Byzantine army routed their united troops on the river Tara in September. The Byzantine victory forced Uroš II of Serbia to acknowledge the emperor's suzerainty. Emperor Manuel launched a retaliatory campaign against Hungary and ravaged the lands between the rivers Sava and Danube. Assisted by Byzantine troops, the pretender Boris also broke into Hungary and devastated the valley of the river Temes. Géza, who had just returned from Halych, did not want to "involve the remaining Hungarian force in destruction" and sued for peace. The peace treaty was signed in late 1150 or early 1151.
Géza met Henry Jasomirgott which contributed to the normalization of their strained relations in 1151. He sent reinforcements to Iziaslav II who again reoccupied Kiev before April 1151. Three months later, Volodimirko of Halych routed a Hungarian army that was marching towards Kiev. Frederick Barbarossa, the newly elected King of Germany, demanded the German princes' consent to wage war against Hungary at the Imperial Diet of June 1152, but the princes refused him "for certain obscure reasons", according to Otto of Freising. Géza invaded Halych in the summer of 1152. The united armies of Géza and Iziaslav defeated Volodimirko's troops at the San River, forcing Volodimirko to sign a peace treaty with Iziaslav. Pope Eugenius III sent his envoys to Hungary to strengthen the "faith and discipline" of the Hungarian church. Géza forbade the papal envoys to enter Hungary, which shows that his relationship with the Holy See had deteriorated.
Géza planned to invade Paristrion—the Byzantine province along the Lower Danube—in the spring of 1153. According to John Kinnamos, Géza sought vengeance for Manuel's invasion of 1150; on the other hand, Michael of Thessalonica wrote that Géza prevented Emperor Manuel from invading Southern Italy. However, the emperor, who had been informed of Géza's plan, marched to the Danube. Géza sent his envoys to the emperor and a new peace treaty was signed in Sardica (now Sofia in Bulgaria). In accordance with the peace treaty, the Byzantines released their Hungarian prisoners of wars, according to Abū Hāmid al-Gharnātī, a Muslim traveler from Granada who lived in Hungary between 1150 and 1153.
Abū Hāmid stated that every country feared Géza's attack, "because of the many armies he has at his disposal and his great courage". The Muslim traveler observed that Géza employed Muslim soldiers who had been recruited from among the peoples of the Eurasian steppes. Abū Hāmid even urged the soldiers to make "every effort to go on jihad" with Géza "for thus God [would] set down the merit of Holy War to [their] account". Géza allowed his Muslim subjects to take concubines, which stirred up the Hungarian clergy. He also invited Western European (primarily German) knights to settle in Hungary. For instance, he made a land grant to two knights, named Gottfried and Albert, who had "abandoned their homeland" upon his invitation in the 1150s. Some years earlier, one Hezelo of Merkstein sold his patrimony in the region of Aachen before departing to Hungary from where he never returned to his homeland. According to the Diploma Andreanum of 1224, which spelled out the privileges of the Transylvanian Saxons, their ancestors were invited by Géza to settle in southern Transylvania.
Pope Anastasius IV declared Géza's rule in Dalmatia unlawful in October 1154. Emperor Manuel's cousin, Andronikos Komnenos, who administered Belgrade, Braničevo and Niš sent a letter to Géza in 1154, offering to hand over those towns to Géza in exchange for Géza's support against the emperor. Géza sent his envoys to Sicily to sign a new alliance with William I of Sicily around the end of the year, but William I was fighting with his rebellious subjects. Although Andronius Komnenus's plot was discovered and he was captured, Géza invaded the Byzantine Empire and laid siege to Braničevo in late 1154. After hearing of the imprisonment of Andronikus Komnenos, Géza abandoned the siege and returned to Hungary. A Byzantine general, Basil Tzintziluces, launched an attack on the Hungarian army, but Géza annihilated the Byzantine forces before returning to Hungary. In early 1155, the Byzantine and Hungarian envoys signed a new peace treaty. In the same year, a Byzantine army expelled Géza's ally, Desa, from Serbia and restored Uroš II, who had promised that he would not enter into an alliance with Hungary.