Máté Csák or Matthew III Csák (between 1260 and 1265 – 18 March 1321; , ), also Máté Csák of Trencsén (, ), was a Hungarian oligarch who ruled de facto independently the north-western counties of Medieval Hungary (today roughly the western half of present-day Slovakia and parts of Northern Hungary). He held the offices of master of the horse (főlovászmester) (1293–1296), palatine (nádor) (1296–1297, 1302–1309) and master of the treasury (tárnokmester) (1309–1311). He was able to maintain his rule over his territories even after his defeat at the Battle of Rozgony against King Charles I of Hungary. In the 19th century, he was often described as a symbol of the struggle for independence in both the Hungarian and Slovak literatures. Early years He was a son of the Palatine Peter I Csák, a member of the Hungarian genus ("clan") Csák. Around 1283, Matthew and his brother, Csák, who later served as bearer of the sword (kardhordó) in 1293, inherited their father's possessions, Komárom (Slovak: Komárno) and Szenic (Slovak: Senica). At about that time, they also inherited their uncles' (Matthew II and Stephen I Csák) possessions around Nagytapolcsány (Slovak: Veľké Topoľčany, now Topoľčany), Hrussó (Slovak: Hrušovo) and Tata. Their father had started to expand his influence over the territories that surrounded his possessions. Matthew was born around 1260s. A diploma recorded his lameness which caused by either birth defect or a result of a war injury. He was presumably first mentioned by a charter issued by the Somogyvár Abbey on 5 August 1284, where the sons of the late Peter were summoned in a case of land title rights to Kötcse. Historian Gyula Kristó argues that the document mentions the possible elder brothers of Matthew and Csák as they first appeared in contemporary sources only in 1291. Following Peter's death, the members of the rival Kőszegi family from the Héder clan strengthened in Pozsony and Sopron Counties taking advantage of that the Csák clan has been weakened due to the death of Matthew II and Peter I. The Kőszegis defeated the local Osl clan in Sopron County and also forged ahead to Pozsony County where captured Pozsony Castle for a short time. King Andrew's partisan In 1291, Matthew took part in the campaign of King Andrew III of Hungary against Austria. In the next year, when Nicholas I Kőszegi rebelled against King Andrew III and occupied Pozsony (German: Pressburg, Slovak: