Buen Retiro Palace (Spanish: Palacio del Buen Retiro) in Madrid was a large palace complex designed by the architect Alonso Carbonell (c. 1590–1660) and built on the orders of Philip IV of Spain as a secondary residence and place of recreation (hence its name). It was built in what was then the eastern limits of the city of Madrid. Today, what little remains of its buildings and gardens forms the Retiro Park.