Junayd Beg returned to the head of Aydın-ili: the Aydınids independent again
Çelebi Mehmed had taken Izmir in 1414-15 and, sending Junayd Beg to the sancak beylik of Nikopol, had attached Aydın-ili to Ottoman administration. After Çelebi Mehmed's death Junayd reappeared on the scene beside Mustafa Çelebi, whom Byzantium put forward as a claimant to the throne, and even served him as vizier. Murad II separated him from this alliance with the promise of returning his old principality; Junayd returned to Izmir, seized Ayasuluk, killed the Aydınid Mustafa Beg and took the head of the principality. Thus Aydın-ili was born out of the crisis of the Pretender Mustafa, having left Ottoman administration.