A railway gun is a large artillery piece, often surplus naval ordnance, mounted on, transported by and fired from a specially-designed railway wagon. Many countries have built railway guns, but the best known are the large Krupp-built pieces used by Germany in World War I and World War II.