The cathedral was founded in July 1782 at the instigation of Catherine II of Russia as a reminder of her lifelong Greek Plan. The Tsarina, eager to liberate Constantinople from the Turks, wished to have a replica of the Hagia Sophia in the proximity of the Catherine Palace where she spent her summers. But the first project - an exact copy of the Hagia Sophia - was very expensive.
Then the Empress called upon her favourite architect, Charles Cameron, to design this "Byzantinesque" church, but the Scottish architect, though well versed in the Palladian idiom, had a vague idea of what Byzantine architecture stood for. His design called for an austere and monumental whitewashed exterior, with Doric porticoes on each side, probably a reference to the works of Lord Burlington.
Construction works, supervised by Ivan Starov, lasted for six years. In the eventual variant, the five wide domes were placed on squat drums, vaguely reminiscent of the Hagia Eirene. The church was consecrated on 28 May 1788 in the presence of the Empress. During the two decades that followed, the Imperial Academy of Arts had the interior adorned with Neoclassical paintings. A detached two-storied belltower was added considerably later, in 1905, to a design by Leon Benois.
1788-1934
In 1784, the cathedral was to be the chapter church of the newly established Order of Saint Vladimir. The first dean was archpriest Andrey Samborsky - the religion teacher of tsarina's grandsons.
In 1817, Alexander I of Russia gave the cathedral to a hussar regiment of his Leib Guard, which was quartered in Sophia. During the rest of the 19th century, the regiment had the cathedral transformed into a sort of military museum, its walls lined with marble plaques honouring the hussars' victories. Near the altar, for instance, were placed the banners captured by General Cherniaev from the Khan of Kokand.
1934-1989
In 1934, the Communist government had the cathedral closed down, with marble plaques and precious furnishings either nationalized or stolen.