Julius Caesar became pontifex maximus before he was elected consul