Barcelona's basilica and world-famous landmark has agreed to pay city authorities 36 million euros ($60 million) after going without a building permit for over a century.
The spectacular Sagrada Familia basilica was designed by the architect Antoni Gaudí and gained Unesco world heritage status in 2005. However, the famous church which is still under construction has gone 130 years of work without permission.
Construction started on the basilica in 1882.
Ada Colau, Barcelona's mayor said the deal was an historic agreement.
The basilica is due to pay the money back over the next 10 years and will be used to improve public transport around the area neighbouring the monument.