A Tennessee man who asked for a ride along with police ended up getting arrested Tuesday after a background check revealed child rape allegations, authorities said.

Joshua Murrey, 23, put in the ride-along request with the La Vergne Police Department, which said it then conducted a routine background check.

However, the report came back with two sealed indictments for child rape, the department said.

Police contacted Murrey on Tuesday and invited him to meet with K-9 Officer Justin Darby at the La Vergne Police Department.  

WV MAN CHARGED IN DWI CRASH WHICH KILLED AN UNBORN CHILD

Mugshot photo of Joshua Murrey

Joshua Murrey, 23, was arrested after he requested a police ride along and a routine background check revealed two sealed indictments for child rape, authorities said. (La Vergne Police Department)

But when Murrey arrived to meet the officer, authorities said Darby placed the 23-year-old under arrest without incident.

CLICK HERE TO GET THE FOX NEWS APP

Murrey was booked into the Rutherford County Sheriff’s Office before his transfer to the Robertson County Sheriff's Office.