A man wanted on warrants for drug trafficking was captured after police found him hiding under a bathroom sink at a home in south Springfield Tuesday morning.

Officers found Joshua David Leroy Pruett, 32, in a home in the 1900 block of South Wedgewood Avenue in Springfield after a pursuit in the 1 a.m. hour. Police had initially staked out an area when a pickup passed an officer and he believed a wanted man other than Pruett was driving it. The pickup then fled.

Officers called off the pursuit after the driver began driving in an unsafe manner, Springfield police spokesperson Lisa Cox said. An officer received information from a bondsman that Pruett was at the home on Wedgewood. The bondsman told the officer that a woman was texting and saying Pruett would not let her answer the door.

Police went to the home, where the woman gave them permission to enter, according to an incident report. Police set up a perimeter and removed two adults and three children from the home. A police dog found Pruett under a bathroom sink, biting him in the process.

Pruett was taken into custody and taken to a local hospital for treatment. Officers say he had warrants for felony drug trafficking and first-degree tampering.