The papal legate convoked the synod of the Hungarian prelates, who declared the monarch inviolable in December 1308.
They also urged Ladislaus Kán to hand over the Holy Crown to Charles.
After Kán refused to do so, the legate consecrated a new crown for Charles.
Thomas II, Archbishop of Esztergom crowned Charles king with the new crown in the Church of Our Lady in Buda on 15 or 16 June 1309.
However, most Hungarians regarded his second coronation invalid.
The papal legate excommunicated Ladislaus Kán, who finally agreed to give the Holy Crown to Charles.
On 27 August 1310, Archbishop Thomas of Esztergom put the Holy Crown on Charles's head in Székesfehérvár; thus, Charles's third coronation was performed in full accordance with customary law.
However, his rule remained nominal in most parts of his kingdom.

Matthew Csák laid siege Buda in June 1311, and Ladislaus Kán declined to assist the king.
Charles sent an army to invade Matthew Csák's domains in September, but it achieved nothing.
In the same year, Ugrin Csák died, enabling Charles to take possession of the deceased lord's domains, which were situated between Požega in Slavonia and Temesvár (present-day Timișoara in Romania).
The burghers of Kassa (now Košice in Slovakia) assassinated Amadeus Aba in September 1311.
Charles's envoys arbitrated an agreement between Aba's sons and the town, which also prescribed that the Abas withdraw from two counties and allow the noblemen inhabiting their domains to freely join Charles.
However, the Abas soon entered into an alliance with Matthew Csák against the king.
The united forces of the Abas and Matthew Csák besieged Kassa, but Charles routed them in the Battle of Rozgony (now Rozhanovce in Slovakia) on 15 June 1312.
Almost half of the noblemen who had served Amadeus Aba fought on Charles's side in the battle.
In July, Charles captured the Abas' many fortresses in Abaúj, Torna and Sáros counties, including Füzér, Regéc, and Munkács (now Mukacheve in Ukraine).
Thereafter he waged war against Matthew Csák, capturing Nagyszombat (now Trnava in Slovakia) in 1313 and Visegrád in 1315, but was unable to win a decisive victory.

Charles transferred his residence from Buda to Temesvár in early 1315.
Ladislaus Kán died in 1315, but his sons did not yield to Charles.
Charles launched a campaign against the Kőszegis in Transdanubia and Slavonia in the first half of 1316.
Local noblemen joined the royal troops, which contributed to the quick collapse of the Kőszegis' rule in southern parts of their domains.
Meanwhile, James Borsa made an alliance against Charles with Ladislaus Kán's sons and other lords, including Mojs Ákos and Peter, son of Petenye.
They offered the crown to Andrew of Galicia.
Charles's troops, which were under the command of a former supporter of the Borsas, Dózsa Debreceni, defeated the rebels' united troops at Debrecen at the end of June.
In the next two months, many fortresses of Borsa and his allies fell to the royal troops in Bihar, Szolnok, Borsod and Kolozs counties.
No primary source has made reference to Charles's bravery or heroic acts, suggesting that he rarely fought in person in the battles and sieges.
However, he had excellent strategic skills: it was always Charles who appointed the fortresses to be besieged.

Stefan Dragutin, who controlled the Szerémség, Macsó and other regions along the southern borders of Hungary, died in 1316.
Charles confirmed the right of Stefan Dragutin's son, Vladislav, to succeed his father and declared Vladislav the lawful ruler of Serbia against Stefan Uroš II Milutin.
However, Stefan Uroš II captured Vladislav and invaded the Szerémség.
Charles launched a counter-campaign across the river Száva and seized the fortress of Macsó.
In May 1317, Charles's army suppressed the Abas' revolt, seizing Ungvár and Nevicke Castle (present-day Uzhhorod and Nevytsky Castle in Ukraine) from them.
After that, Charles invaded Matthew Csák's domains and captured Komárom (now Komárno in Slovakia) on 3 November 1317.
After his uncle, King Robert of Naples, granted the Principality of Salerno and t
The papal legate convoked the synod of the Hungarian prelates, who declared the monarch inviolable in December 1308. They also urged Ladislaus Kán to hand over the Holy Crown to Charles. After Kán refused to do so, the legate consecrated a new crown for Charles. Thomas II, Archbishop of Esztergom crowned Charles king with the new crown in the Church of Our Lady in Buda on 15 or 16 June 1309. However, most Hungarians regarded his second coronation invalid. The papal legate excommunicated Ladislaus Kán, who finally agreed to give the Holy Crown to Charles. On 27 August 1310, Archbishop Thomas of Esztergom put the Holy Crown on Charles's head in Székesfehérvár; thus, Charles's third coronation was performed in full accordance with customary law. However, his rule remained nominal in most parts of his kingdom.
Matthew Csák laid siege Buda in June 1311, and Ladislaus Kán declined to assist the king. Charles sent an army to invade Matthew Csák's domains in September, but it achieved nothing. In the same year, Ugrin Csák died, enabling Charles to take possession of the deceased lord's domains, which were situated between Požega in Slavonia and Temesvár (present-day Timișoara in Romania). The burghers of Kassa (now Košice in Slovakia) assassinated Amadeus Aba in September 1311. Charles's envoys arbitrated an agreement between Aba's sons and the town, which also prescribed that the Abas withdraw from two counties and allow the noblemen inhabiting their domains to freely join Charles. However, the Abas soon entered into an alliance with Matthew Csák against the king. The united forces of the Abas and Matthew Csák besieged Kassa, but Charles routed them in the Battle of Rozgony (now Rozhanovce in Slovakia) on 15 June 1312. Almost half of the noblemen who had served Amadeus Aba fought on Charles's side in the battle. In July, Charles captured the Abas' many fortresses in Abaúj, Torna and Sáros counties, including Füzér, Regéc, and Munkács (now Mukacheve in Ukraine). Thereafter he waged war against Matthew Csák, capturing Nagyszombat (now Trnava in Slovakia) in 1313 and Visegrád in 1315, but was unable to win a decisive victory.
Charles transferred his residence from Buda to Temesvár in early 1315. Ladislaus Kán died in 1315, but his sons did not yield to Charles. Charles launched a campaign against the Kőszegis in Transdanubia and Slavonia in the first half of 1316. Local noblemen joined the royal troops, which contributed to the quick collapse of the Kőszegis' rule in southern parts of their domains. Meanwhile, James Borsa made an alliance against Charles with Ladislaus Kán's sons and other lords, including Mojs Ákos and Peter, son of Petenye. They offered the crown to Andrew of Galicia. Charles's troops, which were under the command of a former supporter of the Borsas, Dózsa Debreceni, defeated the rebels' united troops at Debrecen at the end of June. In the next two months, many fortresses of Borsa and his allies fell to the royal troops in Bihar, Szolnok, Borsod and Kolozs counties. No primary source has made reference to Charles's bravery or heroic acts, suggesting that he rarely fought in person in the battles and sieges. However, he had excellent strategic skills: it was always Charles who appointed the fortresses to be besieged.
Stefan Dragutin, who controlled the Szerémség, Macsó and other regions along the southern borders of Hungary, died in 1316. Charles confirmed the right of Stefan Dragutin's son, Vladislav, to succeed his father and declared Vladislav the lawful ruler of Serbia against Stefan Uroš II Milutin. However, Stefan Uroš II captured Vladislav and invaded the Szerémség. Charles launched a counter-campaign across the river Száva and seized the fortress of Macsó. In May 1317, Charles's army suppressed the Abas' revolt, seizing Ungvár and Nevicke Castle (present-day Uzhhorod and Nevytsky Castle in Ukraine) from them. After that, Charles invaded Matthew Csák's domains and captured Komárom (now Komárno in Slovakia) on 3 November 1317. After his uncle, King Robert of Naples, granted the Principality of Salerno and t
Charles I of Hungary