 In the 14th century, the bans of the Garai family (Paul Garai, Nicholas I Garai and his son Nicholas II Garai) expanded their rule not only to Bosnia but also to Upper Syrmia and the last one also became the ban of Slavonia and Croatia, which were also parts of the Kingdom of Hungary at the time.In the 1370s it was captured by Serbian Prince Lazar who in 1377–1378 donated several villages in Macsó to his newly founded monastery of Ravanica.Lazars's son despot Stefan Lazarević was officially granted with possession of Macsó by King Sigismund of Hungary in 1403 as a vassal of the Hungarian ruler.