The city was founded in 914 by the Vikings. The Norman King Henry II of England landed at Waterford in 1171. Waterford and then Dublin were made royal cities and in the Middle Ages, Waterford was Ireland's second city after Dublin. As a result, King Henry VII gave the city its motto: "Urbs Intacta Manet Waterfordia (Waterford remains the untaken city)".