It was an important border town of the Ayutthaya Kingdom during the wars with Burma, as the Noi River served as a natural obstacle for advancing troops.
Formouse unha importante cidade fronteriza no reino de Ayutthaya durante as guerras con Birmania, xa que o río Noi río servía como obstáculo natural para o avance de tropas.