Madan Rai was the penultimate chief minister of medieval Sylhet's Gour Kingdom.
[1] The long-lasted conflict between Gour Kingdom and Brahmachal, ruled by Raja Upananda, continued to trouble the land.
Govardhan appointed Madan Rai to somehow find a way to lure Upananda's general, Amar Singh, in order to use him in infiltrating Brahmachal.
Despite protests, the marriage was successful and Singh maintained a good relationship with General Virabhadra.
Singh was able to persuade the Kuki Chiefs, the border guards for the Tripura Kingdom just south of Brahmachal into raiding Raja Upananda's palace in the dead of the night.