Newspaper stories about the footballer’s “suggested use of prostitutes” had claimed Patricia Tierney had sex with him in a parlour in 2004, the court heard.
But Ms Tierney said in a statement read to the court that she had warned the footballer to leave.
Ms Tierney said: “It was alleged I had a sexual encounter with Wayne Rooney and he paid me for sex when I was working at a massage parlour.
“I do recall Wayne Rooney visiting with a number of other males.
“Several days later he came on his own.
“This time I pushed him into a room and told him to pull his hat down and get out before he was destroyed and his career was over.”
The story first appeared in the Sunday Mirror, the court heard, and was later chased up by The Sun, with several articles appearing in the daily tabloid.
#phonehacking Brooks lawyer says Patricia Tierney sued the Sun in 2005 for libel after it said she was prostitute and had sex with Rooney— Martin Brunt (@skymartinbrunt) November 12, 2013
Notes made by private investigator Glenn Mulcaire, who has admitted phone hacking, showed that he was investigating Rooney at the time and that the football star’s password was Stella Artois.
The phone hacker’s notebooks also contained information with details relating to Rooney’s mother, the court heard.
At a later date he made a note of the mobile phone details of a Harrods beautician called Laura Rooney, who is not related to the footballer.
Wayne Rooney's phone password was "Stella Artois." This is perfect, obviously. http://t.co/AKuYUjHV9F— Bill Hanstock (@sundownmotel) November 12, 2013
Kate Middleton and Boris Johnson’s names were also found on the list of targets by the phone hacker employed by the News of the World, the jury has heard.
The Old Bailey was told that police found a hand- written page titled “Target Evaluation” at Mulcaire’s home when he was arrested in 2006.
The duchess of Cambridge was among 18 names included on the list, along with the Mayor of London, PR guru Max Clifford, former England football manager Sven-Goran Eriksson, Tom Parker Bowles, and Kerry Katona.
Angelina Jolie’s British stunt double was also investigated after the Hollywood actress began her relationship with Brad Pitt in 2005, the jury heard.
Former Gladiators contestant Eunice Huthart was working on the action film Mr And Mrs Smith in Los Angeles in Jul 2005 when her mobile phone details and pin number appeared in Mulcaire’s notes.
The court heard that Ms Huthart, who is originally from Liverpool and described herself as “good friends” with Jolie in a police statement, was hacked by Mulcaire in Feb and Mar 2006.
The private investigator also intercepted the voicemails of celebrity chef and Norwich City majority shareholder Delia Smith after she famously addressed fans over the loudspeaker during a home game in Feb 2005.
He investigated her husband, Michael Wynn-Jones, and their friends and associates, and even called the phone of a man who had a similar number to Ms Smith by mistake, the court heard.