Judah liberated Jerusalem in 165 BCE and restored the Temple. Fighting continued, and Judah and his brother Jonathan were killed. In 141 BCE an assembly of priests and others affirmed Simon as high priest and leader, in effect establishing the Hasmonean dynasty. When Simon was killed in 135 BCE, his son (and Judah's nephew) John Hyrcanus took his place as high priest and king.