The story starts in 1713, when Vienna, the imperial residence city, was struck by what was to be the last great plague epidemic to reach it. In October of that year, Emperor Charles VI knelt in Saint Stephen's Cathedral and made a vow: if the city was spared, he would build a church dedicated to his own namesake, Charles Borromeo. That saint was also known as a patron against the plague. The epidemic died out in 1714, and the emperor kept his word. He announced an architectural competition for the new church. Building work began in 1715 and the church was consecrated on the twenty-eighth of October 1737 by Cardinal Sigismund Graf Kollonitsch. In all, construction took 21 years. The money came from many hands. The estates of the hereditary provinces and many private donors contributed, and so did Spain, the Netherlands, Milan, Italy and Bohemia. This was a church paid for by a wide imperial network, not just by one ruler. You can still read the vow on the building. Under the front pediment, in golden letters, runs a verse from Psalm 22, verse 26: Vota mea reddam in conspectu timentium deum. It means, "I will fulfil my vows in the sight of those who fear God." That is the mark of a votive church.