<human>:  Who built the Welsh castle, Pentyrch Castle?
<bot>: The castle was built in the 12th century by Llywelyn the Great, a prince of Wales. It was destroyed in the English Civil War and rebuilt in the 19th century.