The Monastery of Batalha was built in commemoration of the victory in the Battle of Aljubarrota in 1385 and the independence of Portugal from Castilian influence. Construction began in 1386 and continued for over a century.