After the end of the Six-Day War, Pakistani advisors remained to train the Jordanian forces. In 1970, King Hussein of Jordan decided to remove the PLO from Jordan by force after a series of terrorist acts attributed to the PLO, which undermined Jordanian sovereignty. On September 16, King Hussein declared martial law. The next day, Jordanian tanks attacked the headquarters of Palestinian organisations in Amman. The head of Pakistan's training mission to Jordan, Brigadier-General Zia-ul-Haq (later President of Pakistan), took command of the Jordanian Army's 2nd division and helped Jordan during this crisis.