A church at the site of current San Giovanni Maggiore Basilica was likely erected sometime in the 4th century. There are a number of founding legends for the church. One is that emperor Constantine Ifounded the church in gratitude for the rescue of his daughter Costanza from a shipwreck. It may have been built or introduced into a pre-existing pagan temple dedicated to the cult of Hercules or Hadrian. One of the stones in the architrave is dated to 324. The church underwent numerous reconstructions, including in the 6th century. It was likely made into a Byzantine-style basilica during the era of Belisarius.
After an earthquake in 1635, the last reconstruction in 1656 led to the Baroque building by Dionisio Lazzari seen today. He designed the present cupola, completed in 1685. Further earthquakes in 1732 and 1805 required more reconstructions.
The 1870 earthquake devastated the church and knocked down the roof. For the restoration, Gennaro Aspreno Galante was unable reconstruct the former details. Almost razed in 1872, the local canon Giuseppe Perrella commissioned a neoclassical reconstruction, completed in 1887, from engineer George Tomlinson, with help by Errico Alvino and Federico Travaglini. A hundred years later, the roof again caved down, closing the church again for 42 years, until a restoration in 1978 unveiled the early-Christian apse, below the wooden choir dating from the 17th century. The church was long closed for restoration and architectural studies.
The imposing main altar, damaged over the years, was built in 1743 by Domenico Antonio Vaccaro. Behind the apse is visible the ancient church apse.
References:The Walls of Constantinople are a series of defensive stone walls that have surrounded and protected the city of Constantinople (today Istanbul) since its founding as the new capital of the Roman Empire by Constantine the Great. With numerous additions and modifications during their history, they were the last great fortification system of antiquity, and one of the most complex and elaborate systems ever built. They were also the largest and strongest fortification in both the ancient and medieval world.
Initially built by Constantine the Great, the walls surrounded the new city on all sides, protecting it against attack from both sea and land. As the city grew, the famous double line of the Theodosian Walls was built in the 5th century. Although the other sections of the walls were less elaborate, they were, when well-manned, almost impregnable for any medieval besieger.