Marvão's history dates back to Roman times, when the city was an important strategic fortress for the Romans. Decades later, Marvão was conquered by the Visigoths, a Germanic people, and then by the Moors, a Muslim people from North Africa, in the 8th century. In the 12th century, Marvão became a Christian city under the rule of King Alfonso Henriques, the first king of Portugal.
In the 12th century, Marvão became a Christian city under the rule of King Alfonso Henriques, the first king of Portugal. Over the following centuries, Marvão was the scene of numerous battles and invasions, and the Portuguese War of Restoration did not spare the countryside and its small villages.
Although the town was besieged on several occasions, the fortifications withstood the attacks. This makes them one of the town's main attractions today.