Hungarian Defence Forces
In April 1867, the Austro-Hungarian Empire was established. Franz Josef, the head of the ancient Habsburg dynasty, was recognized as both Emperor of Austria and King of Hungary. Nevertheless, the issue of what form the Hungarian military would take remained a matter of serious contention between Hungarian patriots and Austrian leaders. As the impasse threatened the political union, Emperor Franz Josef ordered a council of generals in November of the same year. Ultimately, the leaders resolved on the following solution: in addition to the joint (k.u.k.) army, Hungary would have its own defence force, whose members would swear their oath to the King of Hungary (who was also Emperor of Austria) and the national constitution, use the Hungarian language of command, and display their own flags and insignia. (Austria would also form its own parallel national defence force, the "Landwehr".) As a result of these negotiations, on 5 December 1868, the Royal Hungarian Landwehr ("Magyar Kiralyi Honvédség", or Defence Force) was established.
King of Hungary
As in all the traditional monarchies, the heir descended through the male line from a previous King of Hungary. In accordance with Hungarian tradition, this right usually passed to younger brothers, before passing to the son of the previous King, which caused family disputes on many occasions. The founder of the first Hungarian royal house was Árpád, who led his people into the Carpathian Basin in 895. His descendants, who ruled for more than 400 years, included Saint Stephen I, Saint Ladislaus I, Andrew II, and Béla IV. In 1301 the last member of the House of Árpád died, and Charles I was crowned, claiming the throne in the name of his paternal grandmother Mary, the daughter of Stephen V. With the death of Mary, the granddaughter of Charles I, in 1395, the direct line was interrupted again, and Mary's husband Sigismund continued reigning, after being elected by the nobility of the Kingdom in the name of the Holy Crown.