An officer and a gentleman is expected to lead from the front. I understand that a regiments officers were indeed located at the front of the line.