of Serbia evicted the last Rastislalić feudal lord, Radič Branković, in 1379, and then presented outlying villages to monasteries in Wallachia. By the time of the Battle of Kosovo in 1389, Golubac was held by Serbia. It is unclear when or how it changed hands, though one source puts it later than 1382. After the battle, the fortress was lost to Sultan Bayezid I, marking the first possession by the Ottoman Empire. In 1391, Golubac switched hands twice. Hungarian Timișoaran Comes Péter Perényi won it, but shortly afterwards lost it again to the Turks. Later, it returned once again to the Kingdom of Hungary. The first extended Serbian possession of Golubac began in 1403 when Sigismund, King of Hungary, ceded it as a personal fiefdom to Despot (court title) Stefan Lazarević, jointly with Belgrade, after he became a highest rank member of the Hungarian chivalry Order of the Dragon. In May 1426, Stefan and Sigismund met in Tata to discuss who Stefan's successor would be. A contract was written stating that Sigismund would accept Đurađ Branković, 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. Despite gaining Golubac, Sultan Murad II was not pleased with the increased Hungarian influence elsewhere in Serbia, so he sent his army to attack. One squad came from Golubac and targeted nearby Serbian and Hungarian settlements in the Braničevo region. In response, Đurađ personally travelled to Golubac, promising forgiveness to Jeremija and urging him to return the fortress by any means possible. The Voivode refused, and attacked the Despot when he and his escort attempted to enter the walls. These events were followed in 1428 by the Battle of Golubac. Around April 1428, Sigismund amassed an army of 25,000 infantry, 6,000 Wallachian archers led by Prince Dan II, 200 Italian artillery, and a number of Polish cavalry on the far side of the Danube, then attacked Golubac and the Turks. He also had ships attacking from the river, one of which was commanded by Cecília Rozgonyi, the wife of Comes István Rozgonyi of Timișoara.