A captain in the British Army or East India Company Armies was the officer rank above lieutenant and below major.