sentences:  The final version of the treaty re-established Serbia as a buffer state and settled its return to Branković, as well as the return of Albania and all other territory conquered, including 24 fortresses, to Hungary.The Ottomans also had to pay an indemnity of 100,000 gold florins and release Branković's two sons.Hungary, meanwhile, agreed to not attack Bulgaria or cross the Danube, and a truce of 10 years was established.