 To compensate for this loss, Đurađ decided to build a new capital, and the choice fell to Smederevo.Smederevo, which had no prior settlement, was chosen for several reasons.In 1428, during the , the Hungarians and Ottomans agreed to recognize Branković as an independent ruler of Serbia, thereby turning it into a buffer state.