When Ferdinand and Isabella ordered the Jews of Spain to convert or leave in 1492 (see Expulsion of Jews from Spain and Portugal), the largest group of exiles eventually found refuge in the Ottoman Empire. Sultan Bayezid II instructed his provincial governors to admit them, and Ottoman tradition credits him with remarking that the Spanish king had impoverished his own country to enrich the sultan's. The words may be legend, but they capture the policy.
The welcome was practical. The Ottomans had recently conquered Constantinople (Istanbul) and the The Balkans and wanted skilled, taxpaying townspeople to repopulate and develop their cities. The newcomers, called Sephardim from the Hebrew name for Spain, brought commercial contacts across the Mediterranean, knowledge of textile manufacture, medicine, metalworking, and European languages. Sephardic exiles set up a Hebrew printing press in Istanbul around 1500, more than two centuries before printing in Ottoman Turkish was permitted. In Salonica (Thessaloniki) Jews became the largest community in the city and dominated its woolen industry, which supplied cloth for the uniforms of the Janissaries. Jewish physicians served at court, and financiers such as Gracia Mendes Nasi and her nephew Joseph Nasi advised sultans in the sixteenth century.
Legally, Jews were dhimmis, protected non-Muslims. Like Christians they paid the Jizya poll tax, could not bear arms, and faced rules marking their lower status, which were enforced unevenly. In return they practiced their religion openly, ran their own courts, schools, and charities under their rabbis, and were largely left alone, an arrangement later described as the Millet System. The communities kept their Spanish-based language, Ladino, for more than four centuries.
The contrast with Iberia is the point for AP purposes. One state defined loyalty as religious uniformity and expelled a minority; another treated diversity as a resource to be taxed and used. Ottoman tolerance was hierarchical, not equal, but it gave the Sephardim security that western Europe would not offer for centuries.