 Originally the town focused around the Roman Catholic community that settled near a regular local market frequented by the population of the region on the lower reaches of the river.The town was first mentioned in 1408 when Prince Alexander the Good of Moldavia (1400–1432) listed the customs points in the principality in his privilege for Polish merchants.The customs house in the town is mentioned in Old Church Slavonic as "krainee mîto" ("the customs house by the edge") in the document which may indicate that it was the last customs stop before Moldavia's border with Wallachia.