In 1428, while the Ottoman Empire was fighting a war with the Republic of Venice and the Kingdom of Hungary they achieved a temporary peace by establishing the Serbian Despotate as a buffer state. After the war ended in 1430,[1][2] the Ottomans returned to their earlier objective of controlling all lands south of the Danube. In 1432, Sultan Murad II began raiding into Transylvania.