In the United States uniformed services, captain is a commissioned officer rank. In keeping with the traditions of the militaries of most nations, the rank varies between the services, being a senior rank in the naval services and a junior rank in the ground and air forces.