Kingdom of Bosnia
After taking the Kingdom of Bosnia in 1463, Mahmud Pasha also invaded Herzegovina and besieged Blagaj, after which Stjepan conceded a truce by sending his youngest son, who bore his father's name, Stjepan, as a hostage to Istanbul, and ceding all of his lands to the north of Blagaj to the Empire.