A man who plied an “infatuated” 13-year-old girl with gifts of adult underwear, then tried to hang himself in front of her after their relationship ended, has been jailed for five years.

Javid Sadiq, 27, disregarded a warning letter from police telling him to stop seeing the girl and bought her thongs and a fancy bra, Bradford Crown Court heard. She told victim support workers Sadiq made her pregnant and she had a miscarriage.

Sadiq, of Melba Road, Canterbury , Bradford, pleaded guilty to three sample charges of sexual activity with a child, between September 7, 2010, and January, 20, 2011.

He was jailed for three years for those offences and imprisoned for an additional two years for a separate offence of possession of a firearm with intent to cause fear of violence on August 22 last year.

Prosecutor Duncan Ritchie said the girl was 13 and Sadiq, aged 25, when they began a sexual relationship.

On September 7, 2010, Sadiq signed the warning letter agreeing not to see her again. But the relationship resumed the next month, with the girl staying overnight at Sadiq’s then address on Friday and Saturday nights.

The court was told yesterday that Sadiq bought her mobile phone credit, food and adult underwear. She took her school uniform with her to change for lessons after sleeping with him.

Mr Ritchie said the girl’s mother became suspicious when she found “thongs and a fancy bra”. Sadiq was arrested and bailed and the sexual relationship ended.

On January 8 this year, the girl was reported missing by her mother and came in dishevelled and upset. She said Sadiq accused her of messing up his life and tried to hang himself with washing line while they were walking in Shipley . He turned blue, forcing her to support his legs to save him.

The girl, now 15, is in need of counselling, Mr Ritchie said.

The firearm offence arose from an incident between Bingley and Ilkley when Sadiq threatened to shoot gamekeeper Michael Smith with an air rifle when he was caught poaching.

In mitigation, Rodney Ferm, Sadiq’s barrister, said he was not a sexual predator. He believed the girl was 18 and had fallen in love with her by the time he learned her real age.

But Judge Jonathan Durham Hall QC told Sadiq: “You knew, and must have known, this was deviant, anti-social and inappropriate behaviour.”