a military officer. There are several kinds of captains, according to their commands.
Captain of a Troop or Company, an officer who commands a troop of horse or a company of foot under a colonel. In the horse and foot guards, the captains have the rank of colonels.