1849. The chief engineer, William Dargan, originally hailed from Killeshin, just outside Carlow. At the peak of rail transport in Ireland, Carlow county was also served by a line to Tullow. Public supply of electricity in Carlow was first provided from Milford Mills, approximately 8 km south of Carlow, in 1891. Milford Mills still generates electricity feeding into the national grid. Following independence in the early 1920s, the new government of the Irish Free State decided to establish a sugar-processing plant in Leinster. Carlow was chosen as the location due to its transport links and large agricultural hinterland, favourable for growing sugar beet. The town is recalled in the famous Irish folk song, Follow Me Up to Carlow, written in the 19th century about the Battle of Glenmalure, part of the Desmond Rebellions of the late 16th century. In 1650, during the Cromwellian conquest of Ireland, Carlow was besieged and taken by English Parliamentarian forces, hastening the end of the Siege of Waterford and the capitulation of that city. During the 1798 rebellion Carlow was the scene of a massacre of 600 rebels and civilians following an unsuccessful attack on the town by the United Irishmen, known as the Battle of Carlow. The Liberty Tree sculpture in Carlow, designed by John Behan, commemorates the events of 1798. The rebels slain in Carlow town are buried in the 'Croppies Grave', in '98 Street, Graiguecullen. Irish language Until the early-19th century Irish was spoken in all twelve counties of the province of Leinster, of which County Carlow forms part. According to Celtic scholar Nicholas Williams, the Irish spoken in County Carlow seems to have belonged to a central dialect stretching from west Connacht eastwards to the Liffey estuary. It had characteristics which survive today only in Connacht Irish. It preserved the stress pattern of Old Irish in which the first syllable of a word receives strong stress. Evidence from place names suggests that Old Irish cn- had become "cr-" in parts of Carlow, like all Gaelic speech outside of Munster and Ossory. An example from Carlow is "Crukeen" (). West Carlow seems to have pronounced "slender R" as "slender Z" (like the "s" in "treasure" or "pleasure") which is also a well-attested feature of the (now extinct) traditional dialects of Kilkenny and South Laois. Efforts are now being made to increase the use of Irish in Carlow under the aegis of the