Upon Hunyadi's demand, the Diet of March 1450 ordered the confiscation of Branković's estates in the Kingdom of Hungary. Hunyadi and his troops departed for Serbia, forcing Branković to release his son. Hunyadi, Ladislaus Garai and Nicholas Újlaki concluded a treaty on 17 July 1450, promising each other assistance to preserve their offices in case King Ladislaus V returned to Hungary. In October Hunyadi made peace with Frederick III of Germany, which confirmed the German monarch's position as guardian of Ladislaus V for further eight years. With the mediation of Újlaki and other barons, Hunyadi also concluded a peace treaty with Branković in August 1451, which authorized Hunyadi to redeem the debated domains for 155,000 gold florins. Hunyadi launched a military expedition against Jiskra, but the Czech commander routed the Hungarian troops near Losonc (present-day Lučenec, Slovakia) on 7 September. With the mediation of Branković, Hungary and the Ottoman Empire signed a three-year truce on 20 November.