The Manipur Kingdom, also known as Meckley,was an ancient kingdom at the India–Burma frontier. Historically, Manipur was an independent kingdom ruled by a Meitei dynasty. But it was also invaded and ruled over by Burmese kingdom at various point of time. It became a protectorate of the British East India Company from 1824, and a princely state of the British Raj in 1891. The princely state bordered the Assam Province in the west and British Burma in the east, and in the 20th century covered an area of 22,327 square kilometres (8,621 sq mi) and contained 467 villages. The capital of the state was Imphal.