US President Barack Obama has praised key African ally Ethiopia for its fight against Shebab militants in Somalia, but also challenged Addis Ababa on its democratic record.
Obama is on the first-ever trip by a US president to Ethiopia, a close strategic partner for Washington credited for beating back the Al-Qaida-affiliated Islamists but a country also much criticised for its rights record.
"Part of the reasons we've seen this shrinkage of Shebab in East Africa is that we've had our regional teams," Obama said on Monday, referring to African Union and Somali government troops.
"We don't need to send our own Marines in to do the fighting: the Ethiopians are tough fighters," Obama said, adding: "We've got more work to do we have to now keep the pressure on."
The Shebab has in recent days lost two key strongholds following a major offensive by AU troops - with Ethiopians and their local allies credited with doing much of the fighting.
While the United States does not have boots on the ground, it carries out frequent drone strikes against Shebab leaders.
Speaking after talks with Ethiopian Prime Minister Hailemariam Desalegn, whose ruling party won 100 percent of seats in parliament two months ago, Obama gave the blunt message that the country - while credited with strong economic growth - needed to perform better on basic rights.
"There is still more work to do, and I think the Prime Minister is the first to admit there is still more to do," Obama said.
Rights groups have complained that Obama's visit to Addis Ababa could add credibility to a government they accuse of suppressing democratic rights - including the jailing of journalists and critics - with anti-terrorism legislation.
"There are certain principles we think have to be upheld," Obama added. "Nobody questions our need to engage with large countries where we may have differences on these issues. We don't advance or improve these issues by staying away."
Hailemariam, however, pushed back against criticism his government has quashed opposition voices and suppressed press freedom.
"Our commitment to democracy is real and not skin deep," he insisted, adding that Ethiopia is a "fledgling democracy, we are coming out of centuries of undemocratic practices".
The Ethiopian premier also said an independent press - currently virtually non-existent - was needed.