Powys Castle (or Powis Castle or Welsh: Castell Coch) is a mediaeval castle, fortress and grand country mansion near the town of Welshpool, in Powys, Mid Wales. It is the residence of the Earl of Powis. The castle is built of sandstone. The rock is from New Red Sandstone of the Permian or Triassic periods.