Beyazid I (ca1354–1403; Bayezıt, nicknamed Yıldırım, the 'Thunderbolt') was the sultan of the Ottoman Empire from 1389 to 1402. He ascended to the throne following the assassination of his father Murad I and immediately had his younger brother Yakub strangled to prevent him from staging a coup.
In 1400, the Mongol warlord Timur Lenk had succeeded in rousing the local kingdoms that had been conquered by the Turks to join him in his attack on Beyazid. In the fateful Battle of Ankara, on July 20, 1402, Beyazid was captured by Timur and kept chained in a cage as a trophy. There are many stories about Beyazid's captivity, including one that describes how Timur used him as a footstool. One year later, Beyazid died — some accounts claim that he committed suicide.
Sultan Bayazid II's offer of refuge gave new hope to the persecuted Sephardim.
Immanual Abobab attributes to Bayazid II the famous remark that "the Catholic monarch Ferdinand was wrongly considered as wise, since he impoverished Spain by the expulsion of the Jews, and enriched Turkey." -(Immanual Abobab, A Consolacam as Tribulacoes de Israel, III Israel.)
Over the centuries an increasing number of European Jews, escaping persecution in their native countries, settled in the Ottoman Empire.