Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

Iranian President Hassan Rouhani chastised U.S. presidential contenders Hillary Clinton and Donald Trump on Sunday, calling the American election “a choice between bad and worse.”

The comments, which came during a speech in the city of Arak and were broadcast on Iranian state television, according to the Associated Press, marked Rouhani’s first public remarks on the presidential contest.

Let our news meet your inbox. The news and stories that matters, delivered weekday mornings. This site is protected by recaptcha

Rouhani also used the opportunity to criticize the bare knuckle-style politics that has defined the race.

“Look at their way of speaking, the way they accuse each other and the way they mock one another,” Rouhani told the crowd. “Do we want such a democracy in our country? Do we want such elections in our country?"

Iran has received a good amount of attention in the election, with Trump describing a U.S.-led deal to scale back the country’s nuclear program as “terrible.”

Clinton has defended the deal, saying the negotiations “lowered the threat” posed by Iran, though she added that the country continues to destabilize regional governments, support terrorist groups and threaten Israel. Clinton also has suggested Iran is violating U.N. Security Council rules with its ballistic missile program.

"If they are violating it — which the evidence seems to suggest — they should be held accountable," she said on "Meet the Press" earlier this year.

Trump has also suggested he would shoot Iranian boats "out of the water," if they made rude gestures at U.S. ships.