 It was rebuilt and extended under Stephen III the Great of Moldavia (1457–1504) who also erected an Orthodox church within it.But the rulers soon began to donate the neighboring villages that had thereto supplied their local household to monasteries or noblemen.Thus the local princely residence was abandoned after 1500.