Once a renaissance garden and the centre of the Habsburg court in Spain, Buen Retiro has become a great public park. The gardens were neglected after the death of Philip IV in 1665 but have been restored and changed on many occasions, notably after being opened to the public in 1767 and becoming the property of the municipality in 1868.