Herod's rule marked a new beginning in the history of Judea. Judea had been ruled autonomously by the Hasmonean kings from 140 until 63 BCE. The Hasmonean kings retained their titles, but became clients of Rome after the conquest by Pompey in 63 BCE. Herod overthrew the Hasmonean Antigonus in a three-year-long war between 37 and 34 BCE, ruled under Roman overlordship until his death ca. 4 BCE, and officially passed on the throne to his sons, thus establishing his own, so-called Herodian dynasty.