* Exit polls show PM's bloc is biggest despite setbacks
* Netanyahu says priority is to stop Iran's nuclear drive
* New centrist party scores stunning second place
* Weeks of coalition-building may focus on domestic issues
Hawkish Prime Minister Benjamin Netanyahu claimed victory in Israel's parliamentary election, shrugging off surprise losses to centre-left challengers and vowing to stop Iran from acquiring nuclear weapons.
Exit polls showed the Israeli leader's right-wing Likud and the ultra-nationalist Yisrael Beitenu would remain the biggest bloc in the 120-member assembly, but with only 31 seats, 11 fewer than the 42 the two parties held in the last parliament.
If the exit polls compiled by three local broadcasters prove correct - and they normally do in Israel - Netanyahu would be on course for a third term in office, perhaps leading a hardline coalition that would promote Jewish settlement on occupied land.
But his weakened showing in Tuesday's election, which he had called nine months early in the hope of a strong new mandate for his confrontation with Iran, could complicate his struggle to forge an alliance with a stable majority in parliament.
"I am proud to be your prime minister, and I thank you for giving me the opportunity, for the third time, to lead the state of Israel," the 63-year-old leader told a cheering crowd in the early hours of Wednesday at his campaign headquarters.
Netanyahu said he planned to form as broad a governing coalition as possible, suggesting he would seek partners beyond his traditional ultra-nationalist and religious allies. His first call may be to Yair Lapid, a former television anchorman whose centrist, secular party came from nowhere to second place.
"The first challenge was and remains preventing Iran from obtaining nuclear weapons," Netanyahu said.
Iran denies it is planning to build an atomic bomb, and says Israel, widely believed to have the only nuclear arsenal in the Middle East, is the biggest threat to the region.
Netanyahu views Tehran's nuclear programme as a threat to Israel's existence and has stoked international concern by hinting at possible Israeli military action to thwart it.
He has shunted Palestinian peacemaking well down the agenda despite Western concern to keep the quest for a solution alive.
The projections showed right-wing parties with a combined strength of 61-62 seats against 58-59 for the centre-left.
Lapid's Yesh Atid (There is a Future) party should have 18 or 19 seats, exit polls showed - a stunning result for a newcomer to politics in a field of 32 contending parties.
Lapid won support amongst middle-class, secular voters by promising to resolve a growing housing shortage, abolish military draft exemptions for Jewish seminary students and seek an overhaul of the failing education system.
He urged Netanyahu "to build as broad a government as possible so that we can bring about real change in Israel".
The once dominant Labour party led by Shelly Yachimovich was projected to take third place with 17 seats. She described Likud victory claims as "ridiculous" before final results were in.
"There is a very good chance, a very good chance, that tomorrow morning Benjamin Netanyahu will not be able to form a government," she declared at her party headquarters.
"YESH ATID SWEEP"
Some in Netanyahu's party acknowledged that the election had gone somewhat awry. "We anticipated we would lose some votes to Lapid, but not to this extent. This was a Yesh Atid sweep," Likud campaign adviser Ronen Moshe told Reuters.
Lapid said before the election he would consider joining a Netanyahu-led government. If that happens, the ultra-Orthodox religious parties which often hold the balance of power in parliament might lose some of their leverage.
After a lacklustre campaign, Israelis voted in droves on a sunny winter day, registering a turnout of 66.6 percent, the highest since 2003. That buoyed centre-left parties which had pinned their hopes on energising an army of undecided voters against Netanyahu and his nationalist-religious allies.
Opinion polls before the election had predicted an easy win for Netanyahu, although the last ones suggested he would lose some votes to the Jewish Home party, which opposes a Palestinian state and advocates annexing chunks of the occupied West Bank.
The exit polls projected 12 seats for Jewish Home.
The biggest casualty was the centrist Kadima party, which was projected to win no seats at all. It had gained the highest number in the previous election in 2009, although its then leader Tzipi Livni failed to put together a governing coalition.
Full election results are due by Wednesday morning and official ones will be announced on Jan. 30. After that, President Shimon Peres is likely to ask Netanyahu, as leader of the biggest bloc in parliament, to try to form a government.
Whatever permutation finally emerges, a Netanyahu-led government is likely to resist any push for a peace deal with the Palestinians that would come anywhere near satisfying the moderates who seek a viable independent state alongside Israel.
Britain warned Israel on Tuesday it was losing international support, saying Jewish settlement expansion had almost killed off prospects for a two-state solution.
U.S.-brokered peace talks broke down in 2010 amid mutual acrimony. Since then Israel has accelerated construction in the West Bank and east Jerusalem - land the Palestinians want for their future state - much to the anger of Western partners.
Netanyahu's relations with U.S. President Barack Obama have been notably tense and Martin Indyk, former U.S. ambassador to Israel, told the BBC the election was unlikely to change that.
"President Obama doesn't have high expectations that there's going to be a government in Israel committed to making peace and is capable of the kind of very difficult and painful concessions that would be needed to achieve a two-state solution," he said.
Tuesday's vote was the first in Israel since Arab uprisings swept the region two years ago, reshaping the Middle East.
Netanyahu has said the turbulence, which has brought Islamist governments to power in several countries long ruled by secularist autocrats, including neighbouring Egypt, shows the importance of strengthening national security.
Foreign policy issues barely registered during the election campaign, with a poll in Haaretz newspaper on Friday saying 47 percent of Israelis thought social and economic issues were the most pressing concern, against just 10 percent who cited Iran.
A major problem for the next government, which is unlikely to take power before mid-March, is the stuttering economy.
Data last week showed the budget deficit rose to 4.2 percent of gross domestic product in 2012, double the original estimate, meaning spending cuts and tax hikes look certain.