 The first extended Serbian possession of Golubac began in 1403 when Sigismund , King of Hungary , ceded it as a personal fiefdom to Despot Stefan Lazarević after he became a Hungarian vassal . When the issue of Stefan 's successor came up in 1426 , he and Sigismund met in May in Tata to discuss it . A contract was written stating that Sigismund would accept Đurađ Branković as successor on the condition that Golubac , Belgrade , and Mačva were returned to Hungary when Stefan died . After Stefan 's death in 1427 , Sigismund hurried to have the clauses of the Tata contract fulfilled , and Belgrade and Mačva were handed over without a problem . However , Golubac 's commander , Voivode Jeremija , demanded a compensation of 12 @,@ 000 ducats . When Sigismund refused to pay , Jeremija handed Golubac to the Turks , who turned it into the pasha 's residence . 
