During the Middle Ages, Ireland's aristocracy built elaborate castles, pieces of which survive today as ruins.