Mustafa's sanjak was Hamideli (roughly modern Isparta in Turkey). But after the death of his father, fearing for his life at the hands of his brothers, he escaped to the rival Turkish beylik Karamanid territory. In Karaman, he was encouraged by an Ottoman pasha named Şaraptar İlyas to rebel against his elder brother, new sultan Murat II.