The Maccabees were able to exploit the internal conflicts plaguing both Seleucid and Ptolemaic kingdoms to expand the territory under their control.[32] Jerusalem evolved from the capital of a small Jewish province into one commanding a large territory, home to various peoples. This growth brought about a decisive change in leadership when Judas Aristobulus declared himself king. Aristobulus, his brother Alexander Jannæus and their successors, were in effect priestly kings, yielding considerable influence in both domestic and international affairs.