An infantry square, also known as a hollow square, was a historic close order formation used in combat by infantry units, usually when threatened with cavalry attack.[1] To deploy its weapons effectively, a traditional infantry unit would generally form a line; but the line was vulnerable to more nimble cavalry, which could sweep around the end of the line, or burst through it, and then attack the undefended rear or simply sweep along the line attacking the individual footsoldiers successively. By arranging the unit so that there was no undefended rear or flank, an infantry commander could organise an effective defense against cavalry attack. With the development of modern firearms and the demise of cavalry, the square formation is now considered obsolete.