What brought the ICE agents to O'Dwyer's door was his role in setting up a small website, TVShack.net, linking to sites where people could watch US TV and movies online. To prosecutors in New York, this made him a worthwhile target in the battle against copyright infringement. Although several recent extradition cases from the UK to the US have attracted controversy, in none does the gap between the alleged crime and the punishment sought by US prosecutors yawn as wide. Many have been angered by the US's eight-year effort to extradite Gary McKinnon, who has Asperger's, for allegedly hacking into Pentagon computers; O'Dwyer faces extradition and a potential sentence of up to 10 years simply for letting people in the UK find somewhere to watch Iron Man 2 before its release. In his first big interview, O'Dwyer tells how he became the unlikely poster boy of the 21st century's culture war. "I was up early," he recalls. "Then policemen turned up with two American men, wearing matching Top Gun jackets. "I was half waking up, half confused. When they started talking I couldn't hear what they were saying, because I was too tired, but it was something about TVShack. So I was like 'okay ... bugger'." O'Dwyer, a quiet, clean-shaven man who looks younger than his 24 years, had set up the site in 2007, at 19, at the suggestion of a friend. It was a "human-powered search engine" for people looking for places to watch films, TV and documentaries online. Users could post links to video content - on YouTube, the now-defunct Google Video, MegaVideo or elsewhere - that contained full TV programmes or films. O'Dwyer's site would check the link worked and add it to its search engine. The site quickly became a specialised search engine for TV and film content, plus a forum for people to discuss and review the films.

"I told a few friends, and maybe they told a few friends, and it sort of spiralled from there, and shot up fairly quickly, popularity-wise." As the site grew, eventually reaching an audience of about 300,000 people a month, so did O'Dwyer's workload - and website hosting bills. "It's hard to maintain, with so many people [using it], I had to put adverts on to pay for the webhosting to get more servers to cope. "Lots of advertisers seemed to email the contact address on the website. I just basically picked one out of the hat and put them on the website. And obviously, when traffic went up, so did the revenue. That's the way websites work." Over the three years it ran, according to court documents, the site's growing audience generated more than £140,000 ($220,000) in advertising revenue. O'Dwyer hasn't denied the figure, but says a lot of it went on running the site. The rest didn't make for a lavish lifestyle: takeaways, pub rounds, electronics and cinema tickets saw it dwindle away, he claims.

"I frittered it away - I haven't really got anything. I bought a computer, a few other things," he says. "[I] spent it like buying other people their things when we were at an event or something. Say at the cinema, I'd just buy everyone's cinema tickets." O'Dwyer - perhaps ironically given his circumstances - is a cinema buff. With revenues from his site, he made four visits a week, and still visits twice a week: "It's much better to see a film in the cinema." However, the US authorities became concerned about a site linking to content often still within copyright. To sell a counterfeit CD or DVD of a copyrighted work is an offence, as is deliberately uploading such a work to the internet. American customs officials, after campaigning from industry bodies, contended that linking to such items on other sites (as search engines and others automatically do) would also be covered by such laws. This is a contentious interpretation of the law, even in the US, where linking has in some court cases been regarded as protected speech under the first amendment. Part of the reason for the huge backlash against proposed copyright laws, the Stop Online Piracy Act (Sopa) and the Protect [Intellectual Property] Act (Pipa) was that this provision would come under attack.

O'Dwyer says he hadn't really considered the legality of his site - he did not know much about copyright - but did comply with legal notices from publishers asking him to remove links, on the few occasions he received them. ICE targeted TVShack.net in June 2010 by taking his web address, known as a domain, and replacing it with a large warning against copyright infringement. The site was quickly back up and running at a new address, tvshack.cc. All ran smoothly until the knock on the door in November 2010. After a quick search of his room, resulting in the seizure of his computer equipment and paperwork relating to the site, O'Dwyer was taken by the City of London police to his local police station for interview. Hoping to get the process over quickly, he refused a lawyer. "I didn't have a solicitor with me, because they told me it'd take two hours to get one. I wanted to make it to my uni lecture, so I thought I'd just get it over with. Turns out the solicitor is next door to the police station."

O'Dwyer had a 45-minute interview - missing his lecture - and was bailed for about six months to appear at a London police station. He texted his mother, Julia, to tell her he would be heading to the family home in Bolsover, Derbyshire, central England, that evening. "Weird day," he concludes, laconically. Unknown to O'Dwyer, his mother had been having a similar day: at 7am, five police officers had turned up at her home and searched it for his possessions. She had then been taken to her local police station and interviewed about her son's activities. "It was a bit of a shock really. They came in, said they wanted to talk about Richard and his website. They wanted to look in Richard's bedroom." She did a recorded interview with police but, unlike her son, had a lawyer. Reunited at the end of the day, they made sure TVShack.net was taken down, PayPal accounts closed, and other email accounts shut. The site was finished.

"We just thought maybe he was going to get charged with a copyright offence," says Ms O'Dwyer. "He was a bit upset, and I said 'Don't worry, we'll get a lawyer and we'll sort it out'." It was not so simple. When O'Dwyer reported to the London police station in May 2011, he was told that the UK case against him would not be pursued - but there was a sting in the tail. "So we had a momentary sigh of relief, says Ms O'Dwyer. "Then - I'm not kidding - the next sentence is 'Oh, we've got an extradition warrant for you from America instead, so you must go immediately to the court', and then the handcuffs were on, he was taken away." O'Dwyer was presented with two US charges: criminal infringement of copyright, and conspiracy to commit criminal infringement of copyright. Each carries a maximum five-year prison sentence. Ms O'Dwyer recalls the wait in the extradition court. "It was the most terrifying day so far."

As O'Dwyer's case was not to be heard that day, his hearing was simply for bail, which he says the US prosecutor opposed. Bail was agreed - with him suggesting terms to the non-technical solicitors and judge. But as O'Dwyer did not have his passport or the £3000 bail bond by 5pm, he spent the evening in Wandsworth prison in London. "Being in prison for setting up a website was something myself, all the other inmates I talked to, and the policemen were confused with," says O'Dwyer. "It's not something you'd expect, would you?" When his bail was cleared the following day, the legal challenge he faced was considerably bigger than he had expected. His extradition hearings are based solely on proving he has a case to answer in the US, that his actions, if proven, would be a crime in both countries, and other technical points. Challenging the details of the case could only be done in US courts. O'Dwyer finds himself baffled that it is the US that is prosecuting him: "The evidence is here, I'm here, I've never been to America since I was about 10. "There's literally no reason I can think of why it has to be heard in America ... at no point was the site ever in America. "I think they're trying to use my website as a sort of guinea pig to try to scare everyone else making linking websites."

In an attempt to give her son a relatively normal life as his case progresses, and to keep him in the UK, Ms O'Dwyer - a community nurse working with terminally ill children - has become a campaigner against the extradition of her son and others to the US. Having previously barely used the internet, and having never heard of Twitter or other social networks, she has raised more than 20,000 signatures on a petition for O'Dwyer, and spends a lot of her day online, starting before work and often going until 1am or later. "I just went straight home after we got Richard the next day and started looking at the internet to find out about extradition. That was the first thing. I was just on it, full on, looking at copyright law, looking at extradition, trying to find a good barrister," she says. "I don't think I started any campaigning until June or July. People helped me - I thought 'what do you do with Twitter?' - but people helped me and I got going." It's an effort not lost on her son, who has continued his course in multimedia studies at Sheffield Hallam university against the background of his extradition hearings. He is working with Sheffield consultancy Rocca Creative during a year in industry.

"I don't let their extradition warrant ruin my life. Otherwise you'd fail, just sit in your room all day moaning. They'd be winning if I let it do that. [Julia O'Dwyer] seems to be doing it all day, I think. Non-stop. She does a lot of the actual work on things. And if she didn't ... I think I'd probably be there by now. I'm very grateful for her doing that." So far, their efforts have proved unsuccessful. Despite gaining the support of senior politicians including Liberal Democrat president Tim Farron and home affairs select committee chief Keith Vaz, O'Dwyer's extradition was approved in court, and by home affairs minister Theresa May, who must clear all UK/US extraditions. His appeal efforts are currently centred on a high court hearing, due later this year. As his case continues, O'Dwyer is trying to keep his focus on his studies, and what he'd like to do afterwards. Described as an "enterprising young man" by Dominic Raab, one of the MPs who have spoken in support of his case, O'Dwyer wants to continue developing websites - despite the TVShack experience. "I like doing web development, and hope to keep making various websites. It'd be good to join a big web company I think, just for the experience, I like Twitter, Facebook. I did apply to Google for a placement once, too," he says. "But eventually I'd like to start my own project. New start-up companies keep coming up all the time, don't they?" But until his battle through the UK courts - and with the home affairs minister - is over, any career plans O'Dwyer wants to make for the next decade come with a hefty degree of uncertainty.

Loading And if O'Dwyer were to be extradited, the people behind other sites which link to TV shows and films - which include Google, Bing, Reddit and many of the other sites at the heart of the web - may have their own reasons to fear for the future. Guardian News & Media