the first part of the line running from Dublin to Kingstown Pier was opened on 17 December 1834, with an extension to Kingstown ( Dún Laoghaire station's current location) opened on 13 May 1837. Dalkey Atmospheric Railway The Dalkey Atmospheric Railway was an extension of the Dublin and Kingstown Railway to Atmospheric Road in Dalkey in County Dublin. It was unofficially opened as far as Sandycove on 19 August 1843. The route from Sandycove to Dalkey (atmospheric station) was opened on 19 March 1844, in time for the official opening of the on 29 March 1844. It used part of the Dalkey Quarry industrial tramway, which was earlier used for the construction of Kingstown (Dún Laoghaire) Harbour. It was the first railway of its type in the world. Dublin and Wicklow Railway Company The entity that became the DSER was incorporated by Act of Parliament in 1846 as the "Waterford, Wexford, Wicklow and Dublin Railway Company", with the name changing to Dublin and Wicklow Railway at the same time. They leased the Dublin and Kingstown railway in 1854, converted it from gauge to their gauge. The remainder of the line to Wexford was opened over the next 20 years in stages. The first section of D&W line from Dundrum and to was opened on 10 July 1854. A continuous route from Dublin to Wicklow was established the following year, when the section from the Dublin and Kingston terminus at Dalkey (atmospheric station) to D&W's Dalkey station was opened on 10 October 1855, and the extension from Bray to (Murrough) opened 3 weeks later on 30 October. The line to Harcourt Road (later ) became the main line while the line to Westland Row became the branch until it was double tracked in 1882 and became a second main line. Coastal erosion has been a problem on the route to Wicklow, forcing the opening of a deviation between Ballybrack and Bray on 1 October 1915, and numerous deviations between Bray and Wicklow. In 1860 it was renamed the "Dublin, Wicklow and Wexford Railway Company" in keeping with the southwards expansion of the railway. Dublin, Wicklow and Wexford Railway Company The line was extended onward to in the early 1860s, starting with the line from Wicklow Junction to (Kilcommon), which opened on 20 August 1861. At this time the line from Wicklow Junction to the Murrough station was bypassed. It remained in