Cardiff Castle, the residence of the marquess of Bute until 1947, was first built in 1090 on the site of a Roman fort. Robert, duke of Normandy, was imprisoned (1126-34) in the castle. Owen Glendower partly destroyed it in 1404. In Cathays Park the group of public buildings includes the National Museum of Wales, the law courts, and the city hall. The Univ. of Wales, a federal university, has a constituent institution as well as its medical campus and the Univ. of Wales Institute in Cardiff. The former docklands of Cardiff Bay are now the site of the new Senedd (National Assembly) building and a multipurpose cultural center. The city also has a botanic garden. Llandaff, which has a notable medieval cathedral, has been incorporated in Cardiff since 1922. The parish church of St. John dates partly from the 13th and 15th cent., and the Museum of Welsh Life, on the city's outskirts, groups buildings from throughout Wales.