This is Penrhyn Castle, which is near Bangor in North Wales. It is a National Trust property, and featured in the HBO series Watchmen as the home of Jeremy Irons' character Adrian Veidt.
Penrhyn Castle was owned by the Pennant family who who achieved their wealth through the transatlantic slave trade, and went on to own the biggest slate mine in North Wales.