After appealing the ruling in February, Poland has finally decided to abide by the European Court of Human Rights decision to pay reparations to a pair of detainees tortured at a CIA black site on Polish soil.

The payments were $147,000 to Abu Zubaydah, and $113,000 to Abdel Rahim al-Nashiri. both for allowing their detention to failing to stop “torture and inhuman or degrading treatment.”

Zubaydah’s lawyer says his client intends the money to go to an organization helping women and children displaced during wars.

Though the terms of the detention have never been made public, Poland reportedly received millions of dollars from the US for allowing the CIA black site, meaning Poland still turned a profit on the deal.