By 1947, when John Crichton-Stuart, the fifth marquess, inherited the castle, the Bute family had divested itself of most of its land in South Wales. John sold off the family's remaining property interests and in 1950 he gave Caerphilly Castle to the state. The lakes were re-flooded and the final stages of the restoration work were completed in the 1950s and 1960s. In the 21st century the castle is managed by the Welsh heritage agency Cadw as a tourist attraction. In 2006, the castle saw 90,914 visitors. It is protected as a scheduled monument and as a grade I listed building. The Great Hall is available for wedding ceremonies.