The residence gradually went from being a hunting lodge to a residence for leisure that saw grand parties and entertainment held in the gardens (such as the ones in 1664, 1668 and 1674). From 1682 it became the main residence of the French Court and government.