The mainline passenger locomotives, later classified as B class, ran on the Victorian Railways (VR) between 1862 and 1917. They used a 2-4-0 wheel arrangement, which provided greater traction on the new, more heavily graded Geelong–Ballarat railway and the Melbourne-Bendigo-Echuca railway, as opposed to the 2-2-2 arrangement previously selected for the relatively level Geelong line. The B class locomotives are regarded as the first mainline VR motive power, and were highly successful in passenger operations.