The first regular use of diesel–electric locomotives was in switching (shunter) applications, which were more forgiving than mainline applications of the limitations of contemporary diesel technology and where the idling economy of diesel relative to steam would be most beneficial. GE entered a collaboration with the American Locomotive Company (ALCO) and Ingersoll-Rand (the "AGEIR" consortium) in 1924 to produce a prototype "boxcab" locomotive delivered in July 1925. This locomotive demonstrated that the diesel–electric power unit could provide many of the benefits of an electric locomotive without the railroad having to bear the sizeable expense of electrification. The unit successfully demonstrated, in switching and local freight and passenger service, on ten railroads and three industrial lines. Westinghouse Electric and Baldwin collaborated to build switching locomotives starting in 1929. However, the Great Depression curtailed demand for Westinghouse's electrical equipment, and they stopped building locomotives internally, opting to supply electrical parts instead.