
As the civil-focused Hamas branch won in the Palestinian Legislative Council elections in 2006, sweeping into power throughout Gaza, Haniyeh was named prime minister.
Israel in 2007 accused then-Prime Minister Haniyeh of "adherence to an 'armed struggle'" against Israel. The Israeli Foreign Ministry quoted Haniyeh as saying, "We are concentrating on politics but have not abandoned our arms."