As such, a main battery was historically a gun or group of guns, as in the broadsides of cannon on a ship of the line. Later, this came to be turreted groups of similar large-caliber naval rifles. With the evolution of technology the term has come to encompass guided missiles as a vessel's principal offensive weapon, deployed both on surface ships and submarines.