The phalanx was arectangular<span> mass military </span>formation<span>, usually composed entirely of </span>heavy infantry<span> armed with </span>spears<span>, </span>pikes<span>, </span>sarissas<span>, or similar </span>weapons<span>. The term is particularly and originally used to describe the use of this formation in </span>Ancient Greek warfare<span>, although the ancient Greek writers used it to also describe any massed infantry formation, regardless of its equipment.</span>