 It was reconstructed in the Baroque style in 1785.The cathedral was once again destroyed by the Russian army during the Kościuszko Uprising.In 1808, a local prelate sold the neglected building to the Vilnius University, which had the building thoroughly modernised in 1822 in the Neoclassical style by Karol Podczaszyński.