The upper city of İzmir was captured from its Aydinid rulers by the Ottomans for the first time in 1389 during the reign of Bayezid I, who led his armies toward the five Western Anatolian Beyliks in the winter of the same year he had come to the throne.