The city's charter was granted by Prince John, as Lord of Ireland, in 1185. What was Prince John Lord of in the 11th century