The basilicas are St. Peter 's Basilica , St. John Lateran , Santa Maria Maggiore and St. Paul outside the Walls . The Basilica of St. Peter is one of four Papal Basilicas or Major Basilicas of Rome the others being the Basilica of St. John Lateran , Santa Maria Maggiore and St. Paul outside the Walls .