Powis Castle () is a British medieval castle, fortress and grand country house near Welshpool, in Powys. The seat of the Herbert family, earls of Powis, the castle is known for its formal gardens and for its interiors, the former having been described as "the most important", and the latter "the most magnificent", in Wales. The castle and garden are under the care of the National Trust. Powis Castle is a Grade I listed building, while its gardens have their own Grade I listing on the Cadw/ICOMOS Register of Parks and Gardens of Special Historic Interest in Wales. The present castle was built in the 13th century. Unusually for a castle on the Marches, it was constructed by a Welsh prince, Gruffydd ap Gwenwynwyn, rather than by a Norman baron. Gruffydd was prince of the ancient Kingdom of Powys and, generally maintained an alliance with English king Edward I during the struggles of the later 13th century. He was able to secure the position of his son, Owain, although the kingdom itself was abolished by the Parliament of Shrewsbury in 1283. After his father's death, Owain was raised to the peerage as Owen de la Pole, 1st Lord of Powis. Following his own death , and the death of his only son, he was succeeded by his daughter, Hawys Gadarn, "the Lady of Powis". Hawys married Sir John Charlton in 1309. In the late 16th century the castle was purchased by Edward Herbert, a younger son of the earl of Pembroke, beginning a connection between the family and the castle that continues today. The Herberts remained Catholic until the 18th century and, although rising in the peerage to earls, marquesses and Jacobite dukes of Powis, suffered periods of imprisonment and exile. Despite these setbacks, they were able in the late 17th and early 18th centuries to transform Powis from a border fortress into an aristocratic country house, and surround it with one of the very few extant examples of a British Baroque garden. In 1784 Henrietta Herbert married Edward Clive, eldest son of Clive of India, a match which replenished the much-depleted Herbert family fortune. In the early 20th century, George Herbert, 4th Earl of Powis redeveloped the castle with the assistance of the architect George Bodley. His wife, Violet, undertook work of equal importance in the garden, seeking to turn it into "one of the most beautiful, if not