the 13th century master builder who had built and . Gian Giacomo had also created the first piece of interior decor for the basilica with his 1515 fresco on the main vault. The basilica was consecrated on 15 December 1529 by Francesco Landino, auxiliary bishop for the Archdiocese of Milan. From 17th to 20th century The entrance to the basilica, originally facing the and the Chapel of the Immaculate Conception was moved in 1610 to its present location. This entrance was walled off and transformed into an atrium to the Chapel of the Immaculate Conception. The second original entrance, located in the Chapel of the Feast of the Cross, faced the clergy houses to the basilica's south. This entrance was also walled off, and two new entrances opened on the front facade facing the Piazza San Magno. The main entrance was opened sometime before 1840, according to records from a pastoral visit by card. Giuseppe Pozzobonelli in 1761, as the side entrances did not allow visitors to enter directly before the high altar. The work on the entrances was done by Francesco Maria Richini, a religious architect and the future designer of the , also in Legnano. He also modified the basilica's exterior by adding Baroque elements like pilasters, pediments, and lintels to the new entrances, windows, and roof lantern. It is probable that the plans, were they not destroyed in 1515, were lost at this point. The basilica's north–south orientation was chosen because of urban planning; to its west was the old cemetery and on the east was the Olona, so it was decided that no doors should be placed on these sides of the basilica. The main chapel, however, was built facing east in traditional Christian practice. This resulted later in those entering the basilica from its new main entrance finding the high altar to their left, so the entrances were rotated 90° to the east and west. Another possibility is that, in the first half of the basilica's history, the high altar was aligned to the main entrance. On 20 August 1611, two bells that had been consecrated by Cardinal Federico Borromeo on 2 July 1610, were added to the bell tower. One of these bells was cast with a fragment of a bell associated to a miracle performed by Saint Theodore acquired by the basilica's canon from the bishop of Sion, Switzerland, as recorded in the