Hillary Clinton has issued a stark warning to Iran, as Democrats in Pennsylvania vote to choose between her and Barack Obama to run for president.
She said the US would attack, and could "obliterate" Iran, if it launched a nuclear strike on Israel.
Mrs Clinton has been playing up foreign affairs and leadership as she tries to make up ground in the Democratic race.
She leads polls in Pennsylvania, the largest remaining state, but analysts say her hopes depend on a big victory.
A Zogby survey released on Tuesday showed Mrs Clinton leading Mr Obama by 10%, while an InsiderAdvantage poll had her 7% ahead
Polling stations opened at 0700 (1100 GMT), with results expected soon after they close at 2000 (2400 GMT).
As the candidates appeared on the US talk show circuit on Tuesday morning, a row erupted when Mrs Clinton was asked how she would respond if Iran launched a nuclear attack on Israel.
She replied that: "If I'm the president, we will attack Iran... we would be able to totally obliterate them."
"That's a terrible thing to say, but those people who run Iran need to understand that, because that perhaps will deter them from doing something that would be reckless, foolish and tragic," she told TV channel ABC
In response, Mr Obama said: "Using words like 'obliterate' - it doesn't actually produce good results, and so I'm not interested in sabre-rattling."
He said only that Iran should know he would respond "forcefully" to an attack on any US ally.
The US fears Iran is trying to acquire nuclear weapons, and could use them against Israel. Iran insists its nuclear programme is solely for power generation.
Mrs Clinton's tough talking over Iran is part of her strategy, to emphasise her foreign policy experience as she fights for every last vote available in Pennsylvania, says the BBC's Jack Izzard.
Last big state
With four million registered Democrats, and 158 pledged delegates to the Democratic Party's nominating convention in August, Pennsylvania is the last of the big states to hold a primary.
Although Mrs Clinton is behind in the delegate count and in the total votes cast, she has won most of the big state contests.
And the white working class voters who have formed the backbone of her support so far are a significant constituency in the state.
With the delegates split in proportion with the vote, neither candidate is expected to win sufficient pledged delegates to seal the nomination in the remaining primaries, and the two are courting 800 or so unelected "super-delegates".
Pennsylvania provides a key test for Mrs Clinton's argument - which she hopes will sway the super-delegates - that only she will be able to secure wins in critical large states come November's presidential election.
The BBC's North America editor, Justin Webb, says the state's voters have the power to keep Mrs Clinton's White House dream alive by giving her a substantial victory, to do it further damage by delivering a close result, or to destroy it by handing a win to Mr Obama.
On TV on Tuesday, Mrs Clinton predicted victory but insisted that the margin did not matter. Instead, she said, if Mr Obama failed to win it would call into question "his ability to win the big states".
Mr Obama conceded that his rival "has to be heavily favoured to win" in Pennsylvania, but dismissed the big-state argument, saying there was "no chance" of the Democrats losing New York or California in the presidential election, no matter who the candidate was.
'Politics of fear'
Even before the subject of Iran arose, foreign affairs loomed large in the final hours of campaigning, with the Obama camp accusing Mrs Clinton of trading in the "politics of fear".
Her final campaign advert featured shots of historic world events such as Pearl Harbour and the fall of the Berlin Wall, with clips of al-Qaeda leader Osama Bin Laden and Hurricane Katrina victims.
The advert concluded with the line: "You need to be ready for anything."
Mrs Clinton's chief strategist Geoff Garin said it was a positive advert.
"It states why Hillary Clinton is the right choice to be president," he said. "We're at a moment where we need a president who's got the strength and knowledge to take on very tough challenges."
But Bill Burton, from Mr Obama's team, said: "We already have a president who plays the politics of fear, and we don't need another."
In a nut shell she's trying to start something out of nothing.... much like the current president is trying to do. Nothing new.