Very nice naval Gew. As Marc mentioned it was made for the Imperial German Navy and marked to the Danzig Dockyard. DWM appears to have made naval rifles from 1899 to 1903 and then again in 1906. (There may be other dates but those are what comes to mind.) Aside from the unit mark, you can tell it was naval issue from the crown fireproof on the receiver and the crown over M on the stock. It’s nice that yours has a naval bolt with it, many do not.