A young mother told today how she tracked an alleged sex attacker by tracing him on Facebook.
She pulled out his profile by using his unusual first name and then tracking down a picture of him on a beach.
After telling police, Alpha Gray was arrested and the woman, who is in her 20s, picked him out of an identification parade, the Old Bailey heard.
She told the court she was left with bruises and a bleeding ear after a man tried to rape her.
But he had told her his name was Alpha, he was 30, and he lived in Holloway, north London, so she tracked down his profile on the social networking site.
She said: "It's such an unusual name. I didn't think it was his real name.
"His picture came up and it turned out he knew someone I knew.
"There was a picture of him on a beach holding a little girl.
"When the police phoned me, I said from that picture I would not tell if it was him. I was not 100% sure."
But when she viewed a video parade, she picked out Gray. She added: "He was the last person. When I saw him it drew my breath away."
But Gray, 30, says he took a cab home and denies being the man who tried to rape the woman in May, this year.
Gray, of Holloway, north London, pleads not guilty to attempted rape, sexual assault and causing actual bodily harm.
Gopal Hooper, prosecuting, told the court the woman had just left a pub in Tufnell Park, north London, when she was approached by a man.
He tried to rape her, pulled down her top and punched her in the face after she tried to run off.
Mr Hooper said: "Somebody who said his name was Alpha, who was aged 30, who lived in Holloway, attacked this young woman.
"His defence is his name is Alpha, he is 30, he lives in Holloway and happened to be in the area at the time."
Mr Hooper added: "He said his name was Alpha. It is a very unusual name, not like Smith or Jones."
Gray allegedly later told police he was at a friend's birthday party at a club a few minutes away from the pub where the woman had been with friends.
Police discovered his address and he was arrested two days after the attack.