Last reviewed 9 September 2026 · A three-minute read · 1717–2025
Mafra grew around a king's vow: John V promised in 1711 to build a convent if his wife bore an heir, and that promise became the vast Palace of Mafra, finished in 1755. The town's old stone pillory still stands nearby, marking older judicial ground.
The short answer
The Palace of Mafra, 580 metres from the Pelourinho de Mafra, began as King John V's vow in 1711: if his wife bore him an heir, he would build a convent in return. The Infanta Barbara was born in 1712, ground was bought in 1716, and the first stone was laid on 17 November 1717, starting thirty-eight years of construction funded by colonial Brazilian gold.
Jardim da vila, Mafra, Portugal — 2005 · Pedro Ribeiro Simões from Lisboa, Portugal · CC BY 2.0
1711
A king vowed a convent in exchange for an heir
King John V of Portugal made a desperate promise in 1711. His wife had given him no children. If Maria Anna of Austria bore him an heir, he vowed, he would build a convent in return.
The following year she gave birth to a daughter, the Infanta Barbara of Portugal. The king kept his word. Ground was chosen in 1713 and bought in 1716. On November 17, 1717, the first stone was laid, with the king, his court, and the Cardinal Patriarch of Lisbon all in attendance.
The Palace of Mafra rises 580 meters from this point. Its basilica and convent were built along one axis. Its towers mark the ends of a facade wide enough to hold a small town.
What began as a debt to God became one of the largest palaces ever built.
1717 to 1755
Brazilian gold turned a small friary into a palace
The money came from across the ocean. Colonial Brazil was pouring gold and diamonds into Lisbon by the shipload, and John V spent it on stone. What was meant as a small Franciscan friary swelled into a complex of 40,000 square meters, one of the biggest royal buildings in Europe.
The German architect João Frederico Ludovice designed it, laying the whole structure out from a central spine occupied by the basilica. Lioz limestone, quarried locally, covers nearly every surface. Roman sculptors carved 58 marble statues for its side aisles. Six organs and 98 bells were shipped in and installed inside a church built to outlast the dynasty that paid for it.
Construction ran on for thirty-eight years, well past the birth that had triggered it. It was finished only in 1755, five years after the king who vowed it was dead. It was supposed to be a monastery of a few monks. Instead it became a secondary royal residence, big enough for a court that rarely stayed there long.
1725 to 1953
A French king's coronation shirt was kept at Mafra
The confraternity that ran Mafra's church life kept more than prayers. Somewhere in its treasury sat the coronation shirt of Louis XV of France. He wore it for his crowning at Reims Cathedral.
It is a strange thing to find guarded 588 meters from this point. A French king's sacred linen, kept safe by a Portuguese religious brotherhood. Alongside it sat the largest collection of dressed processional statues in the country. Royal piety here was never just local. It gathered relics the way John V gathered gold, pulling the prestige of other crowns into its own orbit.
1730s to 1750s
A basilica was built to rival Rome's great domes
The basilica at the heart of the palace was not built to be humble. Roman sculptors carved 58 marble statues for its aisles. Ironworkers in Antwerp forged the screens around its Blessed Sacrament chapel.
Its cupola rises 70 meters over the crossing. It was modeled on Francesco Borromini's dome for Sant'Agnese in Agone in Rome. The Basilica of Our Lady and Saint Anthony of Mafra stands 535 meters from this point. Its floor and ceiling are both patterned in rose and white marble.
Six organs were built inside it between 1792 and 1807. They were made of gilded Brazilian wood. One pipe was six meters tall. A church meant to thank God for one child became a stage for showing off an empire's reach.
A convent for a handful of monks ended up competing with Rome.
2026
A grandmother was killed in Mafra's own municipality
The bargains made on this ground have not stayed confined to kings. In September 2026, police detained a 24-year-old man after a killing in Póvoa da Galega. That village is inside Mafra's municipality. The victim was his grandmother.
No palace, no gold, no relic. Just a family bond, broken in a place whose oldest story is also about what family ties are worth to the people who hold them.
The palace John V built out of a marriage vow still stands over Mafra, its towers marking the edges of a promise that outgrew the man who made it.
The Pelourinho de Mafra, a stone pillory marking the town's old judicial authority, stands about 220 meters from here and is protected as cultural heritage.
King John V began the enormous Palace of Mafra in 1717, a Baroque palace, basilica and monastery that took until 1755 to complete, a short walk south of here.
The Royal and Venerable Confraternity of the Most Blessed Sacrament, a lay Catholic body, is canonically based in the Basilica of Our Lady and Saint Anthony of Mafra nearby.
What was here before the Palace of Mafra was built?
The ground chosen for the palace was selected in 1713 and bought in 1716, ahead of the first stone being laid on 17 November 1717; the Pelourinho de Mafra, a stone pillory marking the town's old judicial authority, stands about 220 metres from the same spot, and the Gothic Igreja de Santo André, now a National Monument, stands roughly 790 metres away.
Why was the Palace of Mafra built?
King John V of Portugal vowed in 1711 to build a convent if his wife, Maria Anna of Austria, bore him an heir; she gave birth to the Infanta Barbara of Portugal in 1712, and the king kept his promise, beginning construction in 1717.
How long did it take to build the Palace of Mafra?
Construction ran for thirty-eight years, from the laying of the first stone in 1717 to completion in 1755, five years after King John V's death.
What happened at Mafra in 2026?
In September 2026, police detained a 24-year-old man after the killing of his grandmother in Póvoa da Galega, a village inside Mafra's municipality.
What is kept inside the Basilica of Mafra?
The basilica houses 58 marble statues carved by Roman sculptors, wrought-iron screens forged in Antwerp around its Blessed Sacrament chapel, and six organs built between 1792 and 1807 from gilded Brazilian wood; a Catholic confraternity based there also once held the coronation shirt worn by Louis XV of France at Reims.
Where this came from
1
Wikidata — The pillory of Mafra still stands near this spot