Khan () was the only reason for retreat. Much of Croatia was plundered by the Mongols, but without any major military success. Saint Margaret (January 27, 1242 – January 18, 1271), a daughter of Béla IV and Maria Laskarina, was born in Klis Fortress during the Mongol invasion of Hungary-Croatia. Šubić's rule The weakening of royal authority under Stephen V of Hungary allowed the House of Šubić to regain their former role in Dalmatia. In 1274, Stjepko Šubić of Bribir died, and Paul I Šubić of Bribir succeeded him as the family elder. Soon, Ladislaus IV of Hungary, recognizing the balance of power in Dalmatia, named Paul I as Ban of Croatia and Dalmatia. Ladislaus IV died in 1290 leaving no sons, and a civil war between rival candidates, pro-Hungarian Andrew III of Hungary, and pro-Croatian Charles Martel of Anjou, started. Charles Martel's father Charles II of Naples, awarded all Croatia from Gvozd Mountain () to the river Neretva mouth hereditary to Paul I Šubić of Bribir. Thus, Charles converted Paul's personal position as Ban into a hereditary one for the Šubić family. All the other nobles in this region, were to be vassals of Paul Šubić. In response, Andrew III in 1293 issued a similar charter for Paul Šubić. During this struggle over the throne, George I Šubić of Bribir, Ban Paul's brother went to Italy, visiting the pope and the Naples court. In August 1300, George I returned to Split, bringing Charles Robert with him. Paul Šubić accompanied Charles Robert (later known as Charles I of Hungary) to Zagreb, where he was recognized as king; then they proceeded to Esztergom, where, in 1301, the Archbishop of Esztergom crowned him as King of Hungary and Croatia. Paul I Šubić, Ban of Croatia and Dalmatia, became Lord of all of Bosnia in 1299. Although supporting the king, Paul I continued to act independently, and ruled over a large portion of modern-day Croatia and Bosnia. He appointed his brothers as commissars of Dalmatian cities, and gave Split to his brother Mladen I Šubić, and Šibenik, Nin, Trogir and Omiš to his brother George I Šubić. After George I Šubić died in 1302, his brother Mladen I Šubić ruled as a Bosnian Ban over Bosnia from Klis Fortress, until he was killed in a battle during 1304. Then, Šubić gave the Klis Fortress to his son Mladen II Šubić, who ruled over