When his army arrived at the vicinity of what is now Pattaya, Phraya Tak encountered the troops of a local leader named Nai Klom, who tried to intercept him. When the two met face to face, Nai Klom was impressed by Phraya Tak's dignified manner and his army's strict discipline. He surrendered without a fight and joined his forces. The place the armies confronted each other was thereafter known as 'Thap Phraya', which means the Army of the Phraya. This later became Pattaya, the name of the wind blowing from the southwest to the northeast at the beginning of the rainy season.