A paedophile was caught on camera by a vigilante group when he thought he was meeting a 13-year-old girl for sex.
Douglas Smith thought he was chatting with a schoolgirl through Facebook and encouraged her to meet up so he could take her virginity.
But when the 56-year-old turned up to meet his underage target, he was confronted by members of Dark Justice, who pose as children online to catch sex offenders.
Smith was already on the UK's Sex Offenders Register as a result of an earlier conviction for viewing indecent images when he started chatting to the 'girl'.
Newcastle Crown Court heard that during their five-day conversation in June, he told the girl he loved her, said she was 'sexy' and she had a beautiful smile.
Smith, of North Shields, Tyne and Wear, was arrested when he turned up at Central Station in Newcastle to meet the girl but was confronted by Dark Justice, who filmed the meeting.Prosecutor Rachael Landin said: "In response to some questions in relation to whether matters would hurt he said his penis wasn't very big."
He pleaded guilty to attempting to meet a child after grooming and breach of registration requirements by failing to tell the authorities where he was living.
He was jailed for a year and eight months and ordered to serve an extended licence period after he is freed. He must now also sign the Sex Offenders Register for life.
Judge Jeremy Freedman told him: "You clearly intended there should be full sexual intercourse, even though you believed the girl to be a 13-year-old child who had no sexual experience of any sort.
"The person you in fact communicated with was with an organisation called Dark Justice, who track down people such as you, who attempt to groom children though social networks.
"It is deeply concerning you have not changed your behaviour in any way, despite being on a sex offenders treatment programme.
"You have no real insight into the harm your actions could potentially cause.
"I think you are intent, if left to your own devices, on having sexual relationships with young people, even though you know very well it was wrong to so do and very harmful to potential victims of such offences."
Smith claimed he was "lonely" when he started the online conversation and had been "flattered".