The British Supreme Court ruled on Wednesday that the U.K. acted unlawfully by giving information to the U.S. about two British Daesh/ISIS members as it breached data protection laws and did not seek assurances they would not face the death penalty.

The two Daesh/ISIS members, Shafee Elsheikh and Alexander Kotey, were part of a four-man Daesh/ISIS team known as “The Beatles”.

The group, with all members raised in Britain, was alleged to be responsible for 27 beheadings of British and American citizens, including British aid worker and taxi driver Alan Henning, and American journalist James Foley.

Both Elsheikh and

Read more: Supreme Court says UK acted unlawfully in ISIS case