midshipman (n.)
c. 1600, originally so called because he was stationed amidships when on duty (see amid).