Hariphunchai or Haribhunjaya was a Mon kingdom in the north of present Thailand in the centuries before the Thais moved into the area. Its capital was at Lamphun, which at the time was also called Hariphunchai.[1]:77 In 1292 the city was besieged and captured by Mangrai of the Thai kingdom of Lanna.[1]:208