1309), he was only represented by one of his followers. In the next year, King Charles appointed him to the office of master of the treasury, which then was the first high-ranking political position during the first regnal years of Charles as the position of palatine was "devaluated". Matthew Csák did not want to accept the king's rule; therefore, he did not attend King Charles' third coronation, when he was crowned with the Holy Crown of Hungary (27 August). Moreover, Matthew Csák still continued to expand the borders of his domains and occupied several castles in the northern part of the kingdom. On 25 June 1311, he led his troops towards Buda and pillaged the surrounding territories and on this account the Cardinal Gentile excommunicated him on 6 July 1311. However, he did not accept the punishment and persuaded some priests to continue their services on his territories. The indignant oligarch pillaged the possessions of the Archdiocese of Esztergom. When the citizens of Kassa (Slovak: Košice) killed Amade Aba, the powerful oligarch of the north-eastern parts of the kingdom (5 September 1311) Matthew made an alliance with his sons against the king who sided with Kassa. His troops liberated Sáros Castle (Slovak: Šarišský hrad), besieged by the king, and then marched against Kassa. At the Battle of Rozgony, the king's armies defeated Matthew's and his allies' troops (15 June 1312). Following the battle, the king occupied the territories of Amade Aba's sons. Although Matthew's domain stayed undisturbed, the occupation of the neighboring territories by the king hindered his expansion. Last years In 1314, the king's armies invaded Matthew Csák's domain, but they could not occupy it. In the meantime, Matthew occupied some fortresses in the March of Moravia and therefore King John of Bohemia also invaded his territories (May 1315). The Czech armies defeated his troops (whom he encouraged in Hungarian language) at Holics but they could not occupy the fortress. King Charles also invaded Matthew's domain and occupied Visegrád. Charles I launched small campaigns against the Csák dominion during 1314 and 1315. When Matthew invaded Szepes and his troops plundered the region, he was narrowly defeated by Philip Drugeth, the king's loyal soldier. During this time Thomas Szécsényi received Hollókő from Charles, who confiscated the land from the Kacsics clan, the disloyal relatives of Thomas. Charles gradually encircled the Csák dominion, when appointed loyal castellans to head of the