There was a motte-and-bailey castle in the town of Caernarfon from the late 11th century until 1283 when King Edward I of England began replacing it with the current stone structure.
Herbert Ortner
David Nolan