The G98 Mauser rifle is a bolt-action rifle used by Germany from 1898 until the end of World War I. It was the German military's main rifle during that time. In 1935, it was replaced by Kar98k, a carbine version of the G98.