Hamas continued to advocate Palestinian armed resistance, won the 2006 Palestinian legislative election, gaining a majority in the Palestinian Legislative Council, and took control of the Gaza Strip from Fatah following a civil war in 2007. Since then, it has run Gaza as a de facto autocratic and one-party state.