Ensign (ən/, Late Middle English, from Old Frenchenseigne (12c.) "mark, symbol, signal; flag, standard, pennant", from Latininsignia (plural)) is a junior rank of a commissioned officer in the armed forces of some countries, normally in the infantry or navy. As the junior officer in an infantry regiment was traditionally the carrier of the ensign flag, the rank acquired the name. This rank has generally been replaced in army ranks by second lieutenant. Ensigns were generally the lowest ranking commissioned officer, except where the rank of subaltern existed. In contrast, the Arab rank of ensign, لواء, liwa', derives from the command of units with an ensign, not the carrier of such a unit's ensign, and is today the equivalent of a major general.
In Thomas Venn's 1672 Military and Maritime Discipline in Three Books, the duties of ensigns are to include not only carrying the colour but assisting the captain and lieutenant of a company and in their absence, have their authority.
"Ensign" is enseigne in French, and chorąży in Polish, each of which derives from a term for a flag. The Spanish alférez and Portuguese alferes is a junior officer rank below lieutenant associated with carrying the flag, and so is often translated as "ensign". Unlike the rank in other languages, its etymology has nothing to do with flags, but instead comes from the Arabic for "cavalier" or "knight". Fähnrich in German comes from an older German military title, Fahnenträger (flag bearer); however, it is an officer cadet rank, not a junior officer - the same applies to the Dutch vaandrig, which has a parallel etymology. In the German Landsknecht armies (c. 1480), the equivalent rank of a Cornet existed for those men who carried the troop standard (known as a "cornet"). It is still used in the artillery and cavalry units of the Netherlands (kornet).
In Argentina, the rank of ensign is used by both the air force and the gendarmerie. It is, however, used differently in the two services. The air force uses the rank for newly qualified officers, while the gendarmerie uses "ensign" ranks as an equivalent for the army's "lieutenant" ranks.
The other armed forces of Argentina have ranks equivalent to ensign: subteniente (which can be translated into English as "sublieutenant") in the army and guardiamarina (midshipman) in the navy". In the army, the most junior sublieutenant in a regiment (or other unit) is also the flag carrier.