Storkyrkan is surrounded on three sides by streets (Trångsund to the west, Storkyrkobrinken and Högvaktsterrassen to the north and Slottsbacken to the east). A courtyard is located immediately south of the church. On the opposite side the courtyard faces the back of the stock exchange buildings, and two small pavilions, designed by Erik Palmstedt as wings of the stock exchange, were actually built as the burial chapel and coach-house of the church. They were built in 1767. To the west and east the courtyard is limited by walls, with openings through wrought iron gates. The posts of both gates were originally decorated with allegorical statues, although only the couple on the west gate are still in place. These two statues probably depict Reason (on the south post) and Divine Love (on the north post), and were made by Peter Schultz in 1675. The statues formerly on the posts of the east gate depict females symbolising Caution and Hope. The pair was made in 1702 by .