 The minor district ("king amphoe") was created on 5 May 1981, when the three "tambons" Mae Pao, Mae Tam, and Mai Ya were split off from Thoeng District.It was upgraded to a full district on 12 August 1987.The district is named after King Mengrai, the founder of the Lanna kingdom of northern Thailand.