Galway, or the City of Galway, is a city in Ireland. It is located in the West Region and is also part of the province of Connacht. Galway City Council is the local authority for the city. It is located on the River Corrib between Lough Corrib and Galway Bay and is surrounded by County Galway. It is the third largest city within the state (after Dublin and Cork) with a population of 75,529 according to the 2011 census. The city takes its name from the Gaillimh river (River Corrib) that formed the western boundary of the earliest settlement, which was called Dún Bhun na Gaillimhe ("Fort at the mouth of the Gaillimh"). The word Gaillimh means "stony" as in "stony river" (the mythical and alternative derivations are given in History of Galway). Historically, the name was written as Gallive, which is closer to the Irish pronunciation. The city also bears the nickname "City of the Tribes" Irish: Cathair na dTreabh because "fourteen tribes of" merchant families led the city in its Hiberno-Norman period.
The term tribes was often a derogatory phrase in Cromwellian times. The merchants would have seen themselves as Irish gentry and loyal to the King. They subsequently adopted the term as a badge of honour and pride in defiance of the town's Cromwellian occupiers. Dún Bhun na Gaillimhe ("Fort at the Mouth (bottom) of the Gaillimh") was constructed in 1124, by the King of Connacht, Tairrdelbach Ua Conchobair (1088–1156).Eventually, a small settlement grew up around this fort. During the Norman invasion of Connacht in the 1230s, Galway fort was captured by Richard Mor de Burgh, who had led the invasion. As the de Burghs eventually became gaelicised, the merchants of the town, the Tribes of Galway, pushed for greater control over the walled city.