Evan Vucci, AP
Sarah Palin speaks during a panel discussion before a preview of the film "Climate Hustle" on Capitol Hill, on Thursday, April 14, 2016, in Washington. Palin says voters won’t stand for it if Republican power brokers try to take the presidential nomination away from Donald Trump or Ted Cruz at the GOP convention this summer. (AP Photo/Evan Vucci)

WASHINGTON — Sarah Palin says voters will "rise up" in opposition if Republican power brokers try to take the presidential nomination away from Donald Trump or Ted Cruz at the GOP convention this summer.

The 2008 vice presidential nominee told The Associated Press on Thursday that GOP voters have the right to decide the party's nominee and will rebel if House Speaker Paul Ryan or some other "white knight" is chosen at a contested convention. Ryan said this week he will not seek or accept the nomination.

Palin said voters know better than to be fooled by party leaders.

"How dare they?" Palin asked, denouncing "arrogant political operatives who underestimate the wisdom of the people."

If party leaders try to intervene at the July convention, "we will rise up and say our vote does count, our activism does count," she said.

Those who try to thwart the will of the people "are the ones who need to leave," she said. "We don't need to leave."

Palin, who has endorsed Trump, said she is confident he will win the GOP nomination, but that she can support Cruz if he emerges as the nominee.

She said she backs Trump because he is "so reasonable and so full of common sense and knows that for America to be great again we have to develop our natural resources" such as oil and natural gas.

The former Alaska governor was in Washington to promote a new documentary that seeks to debunk what it calls myths and hype about human-caused global warming. The movie, "Climate Hustle," questions whether there is a genuine scientific consensus about global warming and features more than 30 scientists who reject mainstream climate science.

Palin said she wants viewers "to feel empowered to ask questions about what is being fed them by the scientific community." The movie opens May 2.

On other topics, Palin said Ryan has failed as House speaker because he did not ensure that the House approved a budget. And while she said she does not regret staying out of the presidential race, she did not rule out a possible presidential bid in the future.