A New York police sergeant accused of having sex with a 15-year-old girl he met online has committed suicide, The New York Times reports.

According to police, 43-year-old Joel Doseau was found dead in Brooklyn on Thursday in the home of a relative.

Earlier this month, Doseau was charged with 40 crimes related to his alleged years-long relationship with the young girl, including seven counts of rape and 11 counts of sexual abuse. From the NY Daily News:

In a 40-count indictment, a Brooklyn grand jury found that Doseau, who was assigned to Patrol Borough Brooklyn South, had an ongoing sexual relationship with the girl, now a woman in her early 20s, which started in 2008 when she was just 15, two years below the age of legal consent.

Sources said Doseau actually met the girl a year earlier, when she was just 14.

Doseau wooed the underage teen online, and lied to her about being more than twice her age, telling her he was younger than the 37 years he really was, sources said.

The girl believed him, according to the sources, and sent the police veteran nude photographs of herself.

Authorities say Doseau was arrested on August 5, but paid a $100,000 bond and was released the same day.

[Image via Shutterstock]