GAZA CITY (AFP) - The Palestinian Islamist movement Hamas said on Thursday that if Tzipi Livni became Israeli Prime Minister it would mean the pursuit of a policy of "aggression" against Palestinians. "Livni's accession to power would signify the same policy of repression and aggression against the Palestinian people carried out by previous Zionist leaders," Hamas spokesman Fawzi Barhum said in a statement. "We must remain committed to resistance as a strategy to defend our rights," he added. Meanwhile, fresh from her election as the head of Israel's governing Kadima party, Tzipi Livni on Thursday set out to become the country's second woman Prime Minister and avert snap elections that could stall Middle East peacemaking. In her victory speech, the Israeli Foreign Minister said she wanted to form a new government as quickly as possible, a daunting challenge for the new leader of a party dogged by corruption scandals and involved in uneasy alliances. The 50-year-old Livni narrowly won Wednesday's party leadership vote to replace scandal-plagued Prime Minister Ehud Olmert, who is standing down to battle a number of corruption allegations. Livni secured 43 per cent of the vote and a lead of just one percentage point - or 431 votes - over her main rival, Transport Minister and hawkish former army chief Shaul Mofaz. But Livni's victory could see her follow in the footsteps of Golda Meir who served as the country's first woman prime minister from 1969 to 1974. The former Mossad spy, who has been leading the US-backed peace negotiations with the Palestinians, will have 42 days to form a government in order to avert an early election that opinion polls say would bring the right-wing Likud leader Benjamin Netanyahu to power. "I will do my utmost not to disappoint you. I want to do what's best for the country," she told supporters. But just how tough a challenge she faces became immediately obvious as the Shas party, which has played the role of kingmaker in the past, laid out its conditions for taking part in a Livni government. Eli Yishai, who heads the religious party, said this included ruling out any negotiations on the future of Jerusalem.