 After the conversion of Lithuania to Roman Catholicism, the Orthodox cathedral was protected by princes Konstanty Ostrogski and Konstanty Wasyl Ostrogski, who restored it after the collapse of the dome in 1506.After their deaths, the cathedral was taken over by the Uniate Catholic church in 1609 and was rebuilt in a style typical of the region.In 1748, the cathedral was abandoned after a major fire and the building was used for various other purposes.