A British student who faced extradition to the U.S. and a possible prison term over a web site he created for sharing TV shows and movies has struck a deal, BBC reports. Richard O’Dwyer, of Sheffield in northern England, was arrested initially in 2010 when U.S. authorities charged that O’Dwyer’s TVShack website hosted links to pirated films and TV shows. The site also allegedly collected $230,000 in advertising before it was seized and shut down. Home Secretary Theresa May approved O’Dwyer’s extradition after a court ruling in January 2012. Following a campaign by his mother Julia that was joined in June by Wikipedia founder Jimmy Wales, O’Dwyer will pay compensation under a “deferred prosecution” and avoid extradition. As part of the agreement O’Dwyer is expected to travel voluntarily to the U.S. to appear in court to finalize the deal before Christmas.