Original: It is located about 45 kilometres ( 28 miles ) northwest of the Spanish capital , Madrid , in the town of San Lorenzo de El Escorial .
Simplified: It is located about northwest of the Spanish capital , Madrid , in the town of San Lorenzo de El Escorial .