Slavery in Portugal occurred since before the country's formation. During the pre-independence period, inhabitants of the current Portuguese territory were often enslaved and enslaved others. After independence, during the existence of the Kingdom of Portugal, the country played a leading role in the Atlantic Slave Trade, which involved the mass trade and transportation of slaves from Africa and other parts of the world to the American continent. Slavery was abolished in Portugal in 1761 by the Marquis of Pombal.
Slavery was a major economic and social institution in Europe during the classical era and a great deal is known about the ancient Greeks and Romans in relation to the topic. Rome added Portugal to its empire (2nd century BC), the latter a province of Lusitania at the time, and the name of the future kingdom was derived from "Portucale", a Roman and post-Roman settlement situated at the mouth of the Douro River. The details of slavery in Roman Portugal are not well-known; however, there were several forms of slavery, including enslaved miners and domestic servants.
The Visigoths and the Suebi (Germanic tribes), of the 5th century AD, seized control of the Iberian peninsula as the Roman Empire fell. At the time, Portugal did not exist as a separate kingdom, but was primarily a part of the Visigothic Iberian kingdom (the Visigothic ruling class lived apart and heavily taxed the native population). However, during this period, a gradual transition to feudalism and serfdom was occurring throughout Europe.
After the Umayyad conquest of Hispania in the 8th century, in which Moors from North Africa crossed the Strait of Gibraltar and defeated the Visigothic rulers of Iberia, the territory of both modern-day Portugal and Spain fell under Islamic control. The pattern of slavery and serfdom in the Iberian Peninsula differs from the rest of Western Europe due to the Islamic conquest. They established Moorish kingdoms in Iberia, including the area that is occupied by modern Portugal. In comparison to the north, classical-style slavery continued for a longer period of time in southern Europe and trade between Christian Europe, across the Mediterranean, with Islamic North Africa meant that Slavic and Christian Iberian slaves appeared in Italy, Spain, Southern France and Portugal; in the 8th century, the Islamic conquest in Portugal and Spain changed this pattern.