 Complete the following phrase:  During the 16th and 17th centuries Galway remained loyal to the English crown for the most part, even during the Gaelic resurgence, perhaps for reasons of survival. However, by 1642 the city had allied itself with the Catholic Confederation of Kilkenny during the Wars of the Three Kingdoms. During the resulting Cromwellian conquest of Ireland, Cromwellian forces captured the city after a nine-month siege. At the end of the 17th century the city supported the Jacobites in the Williamite war in Ireland and was captured by the Williamites after a very short siege not long after the Battle of Aughrim in 1691. The great families of Galway were ruined. The city suffered further under the 