The first passenger station to serve Barnsley was opened by the North Midland Railway in 1840. Barnsley station (latter called Cudworth railway station) was located some 2½ miles away at Cudworth. On 1 January 1850 the Manchester and Leeds Railway opened Barnsley Exchange station, close to the town centre. On 1 May 1870 the Midland Railway opened Regent Street station, a temporary structure. A new station was opened by the MR on the Regent Street site on 23 August 1873. As it incorporated the old court house in its construction Regent Street station was renamed Barnsley Court House station.