in the ayuahya period, song khwai renamed to muang phitsanulok. and in somdej phra borom trai lokkanat period, muang phitsanulok became the capital city for 25 years. muang phitsanulok became more importance.