When the Associated Press asked about accomplishments of his first 100 days, President Trump cited first of all the release of Aya Hijazi, a U.S. citizen who was unjustly imprisoned in Egypt for nearly three years. Hijazi was indeed an egregious example of an American persecuted by a nominal U.S. ally; by raising her case, Trump kept faith with his “America First” pledge. Hijazi’s return is to be celebrated. It does not, however, justify what so far has been Trump’s unqualified public embrace of the most repressive regime in Egypt’s modern history.

The White House has portrayed the prisoner release as evidence that the administration’s loud public support for Egyptian President Abdel-Fatah al-Sissi enables a more quiet diplomacy that gets results. But the record of recent years does not support this thesis. Egypt has a history of imprisoning Americans and then releasing them as a favor to the U.S. administration of the day — whether or not it is publicly supportive. The current ruler, Sissi, freed U.S. citizen Mohamed Soltan in May 2015 after heavy lobbying by the Obama administration, which never invited the strongman to Washington. An earlier leader, Hosni Mubarak, released Egyptian American dissident Saad Eddin Ibrahim under pressure from President George W. Bush, who withheld U.S. aid to force the concession.

The military-backed rulers in Cairo don’t offer these gestures because of White House red carpets. They do it to defuse criticism from Washington about the regime’s horrific human rights record without relieving the systematic repression of Egyptians.

So it is in the case of Hijazi, who was arrested along with her husband and several others in May 2014, after they founded a nongovernmental organization to help street children in Cairo. The Sissi regime, which never produced evidence of wrongdoing by Hijazi, has not let up in its broader campaign against civil society groups with connections to the U.S. It holds tens of thousands of other political prisoners, including thousands of secular liberals who campaigned to make Egypt a democracy. It continues to engage in practices such as forced disappearances, extrajudicial killings and torture — thousands of such cases were reported by human rights monitors last year alone.

Trump’s friendliness toward Sissi will pay off if he can persuade the general to adopt desperately needed reforms in Egypt, such as rational counterinsurgency tactics in the Sinai, rather than mass repression, and the release from prison of secular opponents and Islamists who renounce violence.

FROM AN EDITORIAL IN THE WASHINGTON POST