Heraldry is so called, because it first found its special use in direct connection with military equipments, knightly exercises, and the mêlée of actual battle.
“Some great man's badge of war or armory.” Morris: Earthly Paradise, ii. 167.
Source: Dictionary of Phrase and Fable, E. Cobham Brewer, 1894
More on Armory from Infoplease: