Task: Question Generation
Input (English): As a result of the three Carnatic Wars, the British East India Company gained exclusive control over the entire Carnatic region of India. The Company soon expanded its territories around its bases in Bombay and Madras; the Anglo-Mysore Wars (1766–1799) and later the Anglo-Maratha Wars (1772–1818) led to control of the vast regions of India. Ahom Kingdom of North-east India first fell to Burmese invasion and then to British after Treaty of Yandabo in 1826. Punjab, North-West Frontier Province, and Kashmir were annexed after the Second Anglo-Sikh War in 1849; however, Kashmir was immediately sold under the Treaty of Amritsar to the Dogra Dynasty of Jammu and thereby became a princely state. The border dispute between Nepal and British India, which sharpened after 1801, had caused the Anglo-Nepalese War of 1814–16 and brought the defeated Gurkhas under British influence. In 1854, Berar was annexed, and the state of Oudh was added two years later.
Output (English): When were the Anglo-Maratha Wars fought?