Railway gun
The Second World War saw the final use of railway guns. The Germans used the massive  Schwerer Gustav gun, the largest artillery piece to be used in battle. The rise of the aeroplane effectively ended the use of the railway guns. Like battleships, they were big, expensive, and easily destroyed from the air.