In 945 BC, Shoshenq I and Libu princes took control of the Nile Delta and founded the Twenty-second Dynasty of Egypt, also known as the Libyan or Bubastite dynasty, which would rule for some 200 years. Shoshenq also gained control of southern Egypt by placing his family members in important priestly positions. In 711, Shoshenq made Memphis his northern capital.[25] However, Libyan control began to erode as a rival dynasty in the delta arose in Leontopolis and Kushites threatened from the south.