The rank was in use by both the Union Army and the Confederate Army during the American Civil War. The rank was just below Sergeant Major and just above Ordnance Sergeant. The same rank insignia was used by both armies. Both armies varied the color of the stripes by assigning red for artillery, yellow for cavalry, and blue for infantry. Some Confederate militia units varied these colors even further and had other colors including black stripes for various units.