In the years 1001–1102 and 1018–1029, Slovakia was part of the Kingdom of Poland, having been conquered by Boleslaus I the Brave. After the territory of Slovakia was returned to Hungary, a semi-autonomous polity continued to exist (or was created in 1048 by king Andrew I) called Duchy of Nitra. Comprising roughly the territory of Principality of Nitra and Bihar principality, they formed what was called a ''tercia pars regni'', third of a kingdom. It used to be ruled by would-be successors to the throne from the house of Arpád. Interestingly, in the Hungarian-Polish chronicle from 13th century, ruler of said duchy, duke Emeric (son of Stephen I of Hungary), is called "Henricus dux Sclavonie", in essence - duke of Slovakia.