have used this peaceful period to good advantage, for he was soon in possession of great power. An important external event brought the design of the Maccabeans to fruition. Demetrius I Soter's relations with Attalus II Philadelphus of Pergamon (reigned 159 - 138 BCE), Ptolemy VI of Egypt (reigned 163 - 145 BCE) and his co-ruler Cleopatra II of Egypt were deteriorating. They supported rival claimant to the throne Alexander Balas, who claimed to be the son of Antiochus IV Epiphanes and a first cousin of Demetrius, against him. Demetrius was now forced to recall the garrisons of Judea, except those at Jerusalem's Akra fortress and at Beth-zur; he also made a bid for the loyalty of Jonathan, whom he permitted to recruit an army and to take the hostages kept in the Akra fortress. Jonathan gladly accepted these terms and took up residence at Jerusalem in 153 BCE. He soon began fortifying the city. Alexander Balas also contacted Jonathan with even more favorable terms. Including official appointment as High Priest in Jerusalem. Withdrawing his support from Demetrius and declaring allegiance to Alexander, Jonathan was the first member of his dynasty to achieve appointment as High Priest. The title was not merely nominal. Jonathan became the official leader of his people and the Hellenistic party could no longer attack him without severe consequences. On the Feast of Tabernacles of 153 BCE, Jonathan put on the High Priest's garments and officiated for the first time. It is unknown whom Jonathan displaced as High Priest, though some scholars suggest that this was the Teacher of Righteousness, later founder of the Essenes. In this theory, Jonathan is considered the "Wicked Priest". Jonathan had determined to side with Alexander Balas, not trusting Demetrius, who in a second letter made promises that he could hardly have kept and conceded prerogatives that were almost impossible. Demetrius subsequently lost his throne and life in 150 BCE. Alexander Balas was victorious and sole ruler of the Seleucid Empire. He was given the further honor of marriage to Cleopatra Thea, daughter of his allies Ptolemy VI and Cleopatra II. The wedding took place in Ptolemais in the presence of Ptolemy VI. Jonathan was invited but arrived after the wedding ceremony while celebrations continued. He appeared with presents for both kings, and was permitted to sit between them as their equal; Balas even clothed him with his own royal garment