1826, when the system ended. After the Battle of Lepanto, 12,000 Christian galley slaves were recaptured and freed from the Ottoman fleet. Eastern Europe suffered a series of Tatar invasions, the goal of which was to loot and capture slaves for selling them to Ottomans as jasyr. Seventy-five Crimean Tatar raids were recorded into Poland–Lithuania between 1474 and 1569. Medieval Spain and Portugal were the scene of almost constant Muslim invasion of the predominantly Christian area. Periodic raiding expeditions were sent from Al-Andalus to ravage the Iberian Christian kingdoms, bringing back booty and slaves. In a raid against Lisbon in 1189, for example, the Almohad caliph Yaqub al-Mansur took 3,000 female and child captives, while his governor of Córdoba, in a subsequent attack upon Silves, Portugal, in 1191, took 3,000 Christian slaves. From the 11th to the 19th century, North African Barbary Pirates engaged in raids on European coastal towns to capture Christian slaves to sell at slave markets in places such as Algeria and Morocco. The maritime town of Lagos was the first slave market created in Portugal (one of the earliest colonizers of the Americas) for the sale of imported African slaves – the Mercado de Escravos, opened in 1444. In 1441, the first slaves were brought to Portugal from northern Mauritania. By 1552, black African slaves made up 10% of the population of Lisbon. In the second half of the 16th century, the Crown gave up the monopoly on slave trade, and the focus of European trade in African slaves shifted from import to Europe to slave transports directly to tropical colonies in the Americas – especially Brazil. In the 15th century one-third of the slaves were resold to the African market in exchange of gold. Until the late 18th century, the Crimean Khanate (a Muslim Tatar state) maintained a massive slave trade with the Ottoman Empire and the Middle East. The slaves were captured in southern Russia, Poland-Lithuania, Moldavia, Wallachia, and Circassia by Tatar horsemen and sold in the Crimean port of Kaffa. About 2 million mostly Christian slaves were exported over the 16th and 17th centuries until the Crimean Khanate was destroyed by the Russian Empire in 1783. In Kievan Rus and Muscovy, slaves were usually classified as kholops. According to David P. Forsythe, "In 1649 up to three-quarters of Muscovy's peasants, or 13 to 14 million people, were serfs whose material lives were barely