The B class 795 was built by Darjeeling Himalayan Railway at Tindharia workshop from parts supplied by the North British Locomotive Company. The Darjeeling Himalayan Railway built three engines (795-797) between 1919 and 1925 at Tindharia. During World War I, three B class steam engines were manufactured by Baldwin, a US company, one of which (792B), is still operational.