Representative Tulsi Gabbard of Hawaii offered a striking critique of the Democratic Party on Wednesday from a stage of 10 people vying to be the Democratic nominee for president, accusing the party of being too beholden to the “foreign policy establishment in Washington.”

But her critiques were quickly rebuffed by Senator Kamala Harris of California, who pointed to Ms. Gabbard’s criticism of former President Barack Obama and frequent appearances on Fox News as evidence of her friendliness with Republicans.

Below is a transcript of part of the exchange:

GABBARD: Our Democratic Party, unfortunately, is not the party that is of, by and for the people. It is a party that has been and continues to be influenced by the foreign policy establishment in Washington represented by Hillary Clinton and others’ foreign policy, by the military industrial complex and other greedy corporate interests.

I’m running for president to be the Democratic nominee that rebuilds our Democratic Party, takes it out of their hands and truly puts it in the hands of the people of this country. A party that actually hears the voices of Americans who are struggling all across this country, and puts it in the hands of veterans and fellow Americans who are calling for an end to this ongoing Bush-Clinton-Trump foreign policy doctrine of regime-change wars; overthrowing dictators in other countries; needlessly sending my brothers and sisters in uniform into harm’s way in wars that actually undermine our national security and have cost us thousands of American lives.