President Barack Obama has issued a scathing attack of Donald Trump for criticising a Muslim family whose US Army captain son was killed in Iraq, and challenged Republican leaders to withdraw support for their "unfit" nominee.
Obama's comments on Tuesday added to a growing number of statements from Republicans and Democrats lambasting Trump for his criticism of Khizr and Ghazala Khan, who appeared at the Democratic National Convention last week.
Trump questioned whether Mrs Khan did not speak at the convention because she was prevented from doing so by her religion and he characterised Mr Khan's criticism of him as "vicious".
Families who lose sons or daughters who serve in the US military are called Gold Star families.
"The notion that he would attack a Gold Star family that had made such extraordinary sacrifices on behalf or our country, the fact that he doesn't appear to have basic knowledge around critical issues in Europe, in the Middle East, in Asia means that he's woefully unprepared to do this job," Obama said of Trump during a White House news conference.
The Democratic president noted that leading Republicans, including Speaker of the House of Representatives Paul Ryan, Senate Republican leader Mitch McConnell, and one-time Republican presidential nominee John McCain, a US senator from Arizona, had criticised Trump for his remarks but have stood by their endorsements of him.
"The question I think that they have to ask themselves is, if you are repeatedly having to say in very strong terms that what he has said is unacceptable, why are you still endorsing him?" Obama said.
"What does this say about your party that this is your standard-bearer?"
Trump quickly hit back at the president and Clinton, whom he often says is running for Obama's third term, as embracing policies that have destabilised the Middle East, hurt veterans and shipped American jobs overseas.
"They have betrayed our security and our workers, and Hillary Clinton has proven herself unfit to serve in any government office," Trump said in a statement.
Obama has endorsed his former secretary of state, Hillary Clinton, the Democratic nominee for president.
Obama said that even if he had lost his White House races in 2008 to McCain and in 2012 to former Massachusetts Governor Mitt Romney, he would not have doubted their abilities to lead the country.
"There has to come a point at which you say, somebody who makes those kinds of statements doesn't have the judgment, the temperament, the understanding to occupy the most powerful position in the world," Obama said.