San Lorenzo de El Escorial, also known as El Escorial de Arriba is a town and municipality in the Community of Madrid, Spain, located to the northwest of the region in the southeastern side of the Sierra de Guadarrama, at the foot of Mount Abantos and Las Machotas, 47 kilometres (29 mi) from Madrid. It is head of the same name judicial party. The settlement is popularly called El Escorial de Arriba, to differentiate it from the neighbouring village of El Escorial, also known as El Escorial de Abajo.
Felipe II ordered the construction of this Monastery in recognition of the victory of San Quintín, which took place on the day of San Lorenzo in 1557 and is from the King, to erect a mausoleum in memory of his parents and himself, placed under the invocation of Saint Lawrence.