Malahide Castle in Dublin dates back to the 14th century. It also houses the portrait collection of the national gallery.