With the existing small church of the Holy Spirit, the citizens of Warsaw demanded a new hospital and it was set up for this purpose supposedly by Mikołaj Panczatka, who donated the church his property. From 1425 it was a hostel for the poor and in 1473 a chapel, temporary accommodation for guests or pilgrims, and a monastery were added. The parish priest was also the manager of the hospital at that time. The first pastor of the church, known by name, was Jędrzej Pronobis in 1473. Most of the funding received were given to the hospital. Documents also mention parish priests: John Szeliga, Wojciech Pruszczyński and Wojciech Badowski. In 1629 the bishop of Poznań, Maciej Łubieński, placed it within the Holy Trinity parish, and its buildings were completed, at the behest of the king, as part of the Birgittine Order. In 1579, the brothers of the nearby church of St George were moved to the school at the Church of the Holy Spirit. During the Swedish invasion the church fell into ruin and subsequently burnt down, but the magistrate's resolution from 1664 ensured that the hospital had an income. In 1665, in honour of the defence of Warsaw, the magistrate promised the priests of the Pauline order a new temple of worship. In 1699 the foundation stone was laid for the new church, which was built from 1707 to 1717 in the Baroque style by architects Józef Piola and Józef Szymon Bellotti. A friend of King Augustus the Strong, the governor of Chełm Rybiński was invited for the ceremonial laying of the foundation stone, who set aside 40,000 Polish złotys for the building purposes. The construction of the church continued all the way until 1746, when the chapel, dedicated to Our Lady of Częstochowa, was finally completed. In 1708, Warsaw suffered from an outbreak of the Great Northern War plague. During this time, the Pauline brothers were said to have organised the first pilgrimage from Warsaw to the Jasna Góra monastery in Częstochowa to pray to the Virgin Mary to save them from the disease. Ever since, the pilgrimage has become an important aspect of Polish culture and continues to this day. By 1800 there were nine priests as well as two German professors and four students studying theology in the monastery. In January 1807 the army of Napoléon Bonaparte used the monastery as army barracks. After the war, the monastery was briefly regained, however in 1819 the Tsarist administration ordered the priests to be removed from Warsaw to Częstochowa and that the church was to be administered by the German Brotherhood of St. Benno. Successive rectors were priests of German origin including Lüdicke, Amman, Gelderland, and Ballach. In 1825 the monastery opened the main seminary as a theological faculty and later was transferred to the Franciscan Order. The remaining part of the monastery was rented as apartments. After the January Uprising in 1863, a statue of the Virgin Mary by Czajkowski was placed in front of the church. In 1944, during the infamous Warsaw Uprising, the church was almost completely destroyed by the German Army; the interior of the church and vaulting burnt down with only the main altar surviving. In 1947, the Polish Primate Cardinal Hlond, returned the church to the administration of the Pauline Order and the church was rebuilt in 1956 in the same form as it was before World War II.