The sole objective in this game is to destroy the barbarian nation. When you do so you stop playing. The date when you achieve this will determine whether you win the competition. You or the AI must not trigger any other victory condition before that happens.