Iraninfo-icon's general Qassem Soleimani has lashed out at his country's arch-rival Sunni Saudi Arabiainfo-icon, saying it has sold itself to Americainfo-icon.

Speaking at a ceremony commemorating the 39th anniversary of the Islamic Revolutioninfo-icon in his hometown of Kerman on Sunday, Soleimani said Saudi Arabia and its allies "have sold everything they have to America".

"Ponder the state of the country that called itself the mother of all villages selling themselves cheaply," he added.

The shadowy commander of the Qods Force, Iran's equivalent of the Foreign Legion, oversees Tehraninfo-icon's proxy wars from Yemeninfo-icon and Iraqinfo-icon to Syriainfo-icon and Lebanoninfo-icon.

Soleimani claimed his country has achieved victory in the region, saying Iran has helped Iraq "uproot the Baath... and defeat the Islamic Stateinfo-icon... as vouched for even by enemies."

Iranians on Sunday marked the 39th anniversary of the 1979 Islamic Revolution, just weeks after anti-government protests rocked cities across the country.

Demonstrators in Tehran on Sunday chanted traditional slogans against the United Statesinfo-icon and Israelinfo-icon. Hundreds of thousands converged on the city's central Azadi Square, where President Hassan Rouhani later addressed the crowds.

Abroad, Iran has successfully helped push back the Islamic State group in Iraq and assisted embattled Syrian President Bashar al-Assad in regaining strategic ground in his country's long warinfo-icon.

At home, however, the country's economyinfo-icon still struggles despite its 2015 landmark nuclear deal with worldinfo-icon powers.

In late December and early January, protests across the country began over the economy. They later changed into demonstrations directly challenging the government.

Soleimani's Revolutionary Guards were instrumental in putting down the brief protest movement, which authorities claimed was the work of "foreign agents", with thousands arrested and several killed.