<P> There were three Burmese invasions of Assam between 1817 and 1826, during which time the Kingdom of Assam (Ahom) came under the control of Burma from 1821 to 1825 . Locally, this period, called the manor din by the Indigenous Assamese people and Chahi - Taret Khuntakpa (seven years of devastation) in Meitei, is remembered with horror . It was the climactic period of the 600 - year history of the Assamese kingdom . The sharp drop in population due both to depredations as well emigrations left the erstwhile kingdom in shambles . The British, who were earlier reluctant to colonise Assam, came into direct contact with a belligerent Burmese occupying force . Following the First Anglo - Burmese War they annexed not just Assam but also Burma . </P> <P> In the later part of 18th century, the Ahom Kingdom in Assam was wreaked by series of rebellions . The Moamoria rebellion in Upper Assam and the Dundiya rebellion in Western Assam severely weakened the Ahom Kingdom due to loss of lives and property . The Prime Minister Purnananda Burhagohain tried his best to reestablish Ahom rule over the region . With great efforts, he finally suppressed all the rebellions, and firmly established the royal authority over the kingdom . For smooth functioning of administration or to consolidate his power, he appointed all his relatives in high posts of Ahom Kingdom . Badan Chandra Borphukan, the governor of Guwahati, was anxious of the growing power of Purnananda Burhagohain . At first, he tried to make friendship with Purnananda Burhagohain . He gave his daughter Pijou Gabhoru to Purnananda's son, Urekhanath Dhekial Phukan along with a huge amount of gold ornaments and utensils as dowry . The move backfired when Purnananda Burhagohain expressed his displeasure and suspected Badan Chandra Borphukan of misusing his office . Angered by the behaviour of Purnananda Burhagohain, Badan Chandra Borphukan encouraged conspirators in the capital Jorhat with the aim to assassinate Purnananda Burhagohain . The conspiracy failed and the conspirators were punished . The alleged link of Badan Chandra Borphukan with the conspirators got revealed . Meanwhile the people of Western Assam, complained Burhagohain about the atrocities committed by Badan Chandra Borphukan and his two sons, Janmi and Piyoli . Finally in 1815 CE, Purnananda Burhagohain decided to act and he send a deputation with orders to arrest Badan Chandra Borphukan and bring him to the capital Jorhat for justice . Pijou Gabhoru, the daughter - in - law of Purnananda Burhagohain, who was also the daughter of Badan Chandra Borphukan, send an early message to her father, warning him of the impending danger . Warned by his daughter, Badan Chandra Borphukan escaped to Bengal, which was under British rule . Burhagohain's men caught him at Chilmari in Bengal, but he again escaped with the help of local Thanedar or Police officer . He went to Calcutta and visited the Governor General Lord Hastings with the plea for help to oust Purnananda Burhagohain . The Governor - General declined his plea stating their Policy of Non-interference in the internal matter of another kingdom . Around that time, Badan Chandra Borphukan met the envoy of Burmese King Bodawpaya, who was on a visit at Calcutta . The envoy, after hearing his plea took him to Burma and fixed an appointment with Bodawpaya . </P> <P> In 1816, Badan Chandra Borphukan came to the court of Burmese King Bodawpaya and sought help to defeat his political rival Purnananda Burhagohain . The Burmese monarch agreed and send an expedition under a general of Bhamo, with Badan Chandra Borphukan which entered Assam in January 1817 . The first battle took place on March 27, 1817 at Ghiladhari . The Assam forces were led by Daman Gogoi, Hao Bora and Jama Khan . The battle continued for a week when Purnananda Burhagohain died due to natural causes . This, according to chronicles, led to the division in the ranks of the Ahom nobility, and due to lack of reinforcements the Assam army surrendered . Ruchinath, the son of Purnananda, became the Burhagohain, and asked the king to evacuate, who refused . This led Ruchinath to suspect that Chandrakanta Singha was in alliance with Badan Chandra Borphukan, and left for Guwahati without the king when the Burmese army advanced toward the Ahom capital at Jorhat . The king, Chandrakanta Singha, stayed behind, received Badan Chandra Borphukan and made him the Mantri Phukan . </P>

Who was the prime minister of assam when the burmese army came with badanchandra