Basilica of the Visitation was built between 1715 and 1723. The basilica was given the status of a basilica minor by Pope Pius XI in 1936. The present basilica is located on a hill, where in the twelfth-century, stood a wooden figure of Mary, the Mother of God. According to a chronicle from 1218, the blind Jan from Raszewo regained his sight there. After the event, many pilgrims began visiting the area. Shortly afterwards, an altar, together with candlesticks and a baptismal font, was placed by the statue under the tree. In 1263, a wooden church was built on the hill.
In 1512, Ludwik von Panwitz raised a greater church, constructed out of brick. However, the church was destroyed during the Thirty Years' War. Between 1695 and 1711, a new church was built, but quickly began to crumble and was deconstructed in 1714. Between 1715 and 1723, another church was built by Count Franciszek Antony von Goetzen, which stands to the present day.
References:The Basilica of Santa Maria in Trastevere is one of the oldest churches of Rome. The basic floor plan and wall structure of the church date back to the 340s, and much of the structure to 1140-43. The first sanctuary was built in 221 and 227 by Pope Callixtus I and later completed by Pope Julius I.
The inscription on the episcopal throne states that this is the first church in Rome dedicated to Mary, mother of Jesus, although some claim that privilege belongs to the Basilica di Santa Maria Maggiore. A Christian house-church was founded here about 220 by Pope Saint Callixtus I (217-222) on the site of the Taberna meritoria, a refuge for retired soldiers. The area was made available for Christian use by Emperor Alexander Severus when he settled a dispute between the Christians and tavern-keepers.
The church underwent two restorations in the fifth and eighth centuries and in 1140-43 it was re-erected on its old foundations under Pope Innocent II.