Denis, son of Ampud, also Denis, son of Apod (; died 1236), was an influential baron in the Kingdom of Hungary in the first decades of the 13th century. He was Master of the treasury between 1216 and 1224. He was also ispán of at least three counties. Family Denis was born into an influential noble family in the last decades of the 12th century. His paternal grandfather was Ampud I, a skilled military commander, who served as Ban of Slavonia and Palatine of Hungary during the reigns of kings Stephen III and Béla III. Denis was one of the three sons of Ampud II, who served as ispán of Szolnok County in 1199, and an unidentified daughter of Count Berthold III of Andechs, Margrave of Istria. It is plausible they belonged to the accompaniment of Duke Andrew in Croatia and Dalmatia, who ruled the province beyond the river Drava as a de facto sovereign monarch and constantly rebelled against his elder brother King Emeric of Hungary throughout the latter's reign. Through the maternal lineage, Denis was the first cousin of Gertrude of Merania, a daughter of Berthold IV and spouse of Andrew, which laid the groundwork for the rapid and long-standing ascension for young Denis after Duke Andrew ascended the Hungarian throne in 1205. Denis had two brothers, Michael, who belonged to the rival baronial group centered around Duke Béla in the 1220s, and Lawrence, who held ispánates in Zagreb County, Slavonia around the same period, in the service of Duke Coloman. Career Master of the treasury The early life and career of Denis is unknown, it is plausible that he was younger than Andrew for at least a decade and raised in the ducal court in Croatia and Dalmatia. He inherited the family possessions beyond the river Drava from his father. Denis was first mentioned in contemporary records in 1216, when he became Master of the treasury in the royal court of Andrew II, replacing Solomon Atyusz. He held the dignity for eight years until 1224, with a brief interruption during the movement of Golden Bull of 1222. Beside that, Denis also served as ispán of Újvár County (also Abaúj) from 1216 to 1219 and was the first known ispán of the neighboring Szepes County in 1216. Thereafter, he administered Bács County between 1220 and 1222. During his political career spanning two decades, Denis elevated to the staunchest