A former CIA officer convicted of involvement in the 2003 kidnapping of an Egyptian cleric in Italy was released by authorities in Lisbon, Portugal on Wednesday after winning a last-minute reprieve from extradition.

Sabrina de Sousa, a dual U.S.-Portuguese citizen, was waiting at Lisbon airport to be flown to Italy early on Wednesday when word came she was to be released, after Italy’s president granted her a partial pardon.

“I’m happy with how this worked out here after two years of having this troubling my mind,” a smiling de Sousa told reporters as she left the Judiciary Police headquarters. “But this is not over yet, as I still have the process in Italy, and we have to see how it goes.”

In a later telephone interview with Reuters, de Sousa said her Italian lawyer had applied for her to perform three years of community service in Italy as an alternative to jail.