Answer
Croatia was under Andrew II's rule along with Hungary. He ascended to the throne of Croatia in 1205, inheriting it from his father, Béla III. During his reign, Andrew II implemented significant changes, including the issuing of the Golden Bull of 1222, a crucial document that defined the rights and privileges of the Croatian nobility and established the foundation for the country's legal and political system.