By the end of the medieval period, the entire Balkan peninsula was annexed by, or became vassal to, the Ottomans