Prior to 1492, substantial Jewish populations existed in most Spanish and Portuguese provinces. Among the larger Jewish populations in actual numbers were the Jewish communities in cities like Lisbon, Toledo, Córdoba, Seville, Málaga and Granada. In these cities, however, Jews constituted only substantial minorities of the overall population. In several smaller towns, however, Jews composed majorities or , as the towns were founded or inhabited principally by Jews. Among these towns were Ocaña, Guadalajara, Buitrago del Lozoya, Lucena, Ribadavia, Hervás, Llerena, and Almazán.