 The city achieved its greatest power during the reign of Prince Vasylko Rostyslavych, the great-grandson of the Grand Duke of Kiev Yaroslav the Wise.Prince Vasylko Rostyslavych's fortress was a wooden, enclosed palisade, and only the castle church within it was built of stone.The fortress had several defensive lines, but there was no water well.