A student facing trial and possible imprisonment in the United States has struck a deal to avoid extradition, the High Court has been told.
Richard O’Dwyer, from Bolsover, is accused of breaking copyright laws.
The US authorities claimed the 24-year-old’s TVShack website hosted links to pirated films and TV programmes.
The High Court was told Mr O’Dwyer had signed a “deferred prosecution” agreement which would require him paying a small sum of compensation.
Mr O’Dwyer will travel to the US voluntarily in the next few weeks for the deal to be formally ratified, it is understood.
A High Court judge was told that Mr O’Dwyer was expected to travel to the US in the next 14 days to complete the agreement, pay a small sum in compensation and give undertakings not to infringe copyright laws again.
His extradition application is then expected to return to the High Court so it can formally be disposed of.