King Hussein ruled Jordan from 1953 to 1999, surviving a number of challenges to his rule, drawing on the loyalty of his military, and serving as a symbol of unity and stability for both the Jordanians and Palestinian communities in Jordan. King Hussein ended martial law in 1989 and ended suspension on political parties that was initiated following the loss of the West Bank to Israel and in order to preserve the status quo in Jordan. In 1989 and 1993, Jordan held free and fair parliamentary elections. Controversial changes in the election law led Islamist parties to boycott the 1997, 2011 and 2013 elections.