During the expulsion of the Polish army from Moscow in 1612, Prince Dmitry Pozharsky entered the Kremlin through the square. In memory of this event, he built the Kazan Cathedral in honor of the "Kazan Icon of the Mother of God," which had followed his army in a campaign.