 At last a treaty was concluded at Ghilajharighat in January 1663, according to which the Ahoms ceded western Assam to the Mughals, promised a war indemnity of three lakhs of rupees and ninety elephants.Besides, the king had to deliver his only child and daughter Ramani Gabharu, as well as his niece, the daughter of the Tipam Raja to the harem of the Mughal emperor.Thus, according to the treaty Jayadhwaj Singha transferred Kamrup to the possession of the Mughals and promised to pay a heavy war indemnity.