Although the Maccabean Revolt broke out in 167 BCE and the Temple was purified from pagan influences in 164 BCE, Jerusalem nevertheless remained dominated by the Seleucid garrison which held out in the Acra for a further 25 years. Only in 141 BCE did Simon Maccabaeus occupy the Acra and, according to Josephus, raze it to the ground.[1] From 140 BCE to 63 BCE Jerusalem was the capital of first an independent state and then an independent kingdom. As attested in 1 Maccabees, it began its own year count, distinct from the Seleucid system: