An American detained in Cuba since 2017 after being accused of espionage has been released, CNN reported on Friday, citing two sources familiar with the matter and a State Department spokesperson.

A U.S. government team quietly flew to Havana in September to bring 68-year-old Cuban American teacher Alina Lopez Miyares back to the United States, CNN reported. Her release ends a detention that had lasted nearly a decade.

Lopez Miyares, a dual Cuban and U.S. citizen who had been living in Miami, was arrested after flying to Havana in January 2017, according to earlier reporting on her case. Her husband, Felix Milanes Fajardo, a former Cuban diplomat assigned to the United Nations, had been caught trying to flee Cuba and called her from custody asking her to come to the island, her U.S. lawyer Jason Poblete said in that reporting. After a brief closed trial in a military court in Havana in October 2017, Milanes was sentenced to 16 years in prison and Lopez Miyares to 13 years.

Court documents cited in the earlier reporting said Lopez Miyares received two payments, $400 to cover expenses and $10,000 to help Milanes pay a smuggler to escape the island. Her family, lawyer and supporters had pressed successive U.S. administrations to help bring her home, pointing to serious health problems including renal insufficiency. CNN's report on Friday, citing the State Department spokesperson, is the first confirmation that she has been freed and returned to the United States.