The pantheon served as a temple for the Roman gods. The first pantheon was built around 27 AD to celebrate Augustus's victory and his father-in-law over Antony and Cleopatra at Actium.