Volunteer companies, following the venerable militia tradition, elected their own officers (captain and lieutenants). State governors officially appointed regimental officers (colonel, lieutenant colonel, and major), but in many regiments these officers were actually elected either by the men of the whole regiment or by the officers of all the companies.