The town takes its name from a castle that once stood on a bridge over the River Maine at the current location of Castlemaine. Until the seventeenth century the river formed the boundary between the Norman territories of the Fitzgerald family and the Gaelic lordships. The castle was originally built on a rock in the centre of the river in 1215 by the Fitzgeralds, marking the southern limit of their newly conquered territory. It remained in the possession of the Earls of Desmond until the 1570s, when it became an English Crown fortress, overseen by a constable. The constable held considerable power in the locality and could raise taxes from the town that emerged near the castle. The first constable was Thomas Spring. The castle's strategic position made it a valuable building, and it was besieged for 13 months in 1598-1599 during the Nine Years' War. During the Irish Confederate Wars of the 1640s the castle changed hands on a number of occasions, before being finally destroyed by a Cromwellian army in 1652. Despite the destruction of the fortress, a Constable of Castlemaine Castle continued to be appointed until 1832, receiving income from the fisheries and fairs of the town and river. In June 1921, an IRA ambush near Castlemaine during the Irish War of Independence resulted in four security-force members being killed. The town was attacked in January 1923 during the Irish Civil War by Anti-Treaty fighters under Tom McEllistrim and John Joe Sheehy.
Cultural references
The song The Wild Colonial Boy sings "There was a wild colonial boy, Jack Duggan was his name / He was born and bred in Ireland in a place called Castlemaine." The song may be based on the career of Jack Donahue. Jack Donohue was convicted under English law and was transported to Australia. He escaped and continued a life opposed to English law, but was eventually captured and shot in 1830. There is a small pub called "Jack Duggan's" on the Tralee Road. In Australia, the Fourex brewery is known at Castlemaine.
Transport
opened on 15 January 1885, but closed on 1 February 1960.
Sport
Castlemaine United is the local soccer club. Milltown/Castlemaine is a local football club