Great temples were built and ruined