The first Springfield musket, the M1795, was produced for the United States military in 1795. Following the Spanish-American War in 1898, Erskine Allin, the Superintendent of the Springfield Arsenal, developed the M1903. The bolt-action magazine rifle, an adaptation of the Mauser Gewehr, was used by the United States Army during the First World War. The M1903 rifle remained the US standard rifle until 1936. However, because of production problems with the M1A1, it was also used during the Second World War. Snipers also preferred using the rifle all the way through the Korean War.