The H-4 class includes a total of 16 Consolidations built by Baldwin, divided into ten of the actual class H-4 from 1901 and six H-4a of 1903. Some sources state that like the H-4b, these were originally built for the West Virginia Central & Pittsburgh and only came to Western Maryland in 1905.
While most of the locomotives were retired between 1927 and 1931, the 401 and 409 came to the Chesapeake Beach Railway. The 409 rejoined the Western Maryland in 1935. Four units were sold to the Vang Construction Company. The 406 and 416 survived to 1941 and 1946, respectively.