A suspect was trying to evade arrest by hiding in a dishwasher underneath a porch in South Carolina when a police K-9 found him and began to attack, authorities said.

Deputies were attempting to take 47-year-old Kevin Leroy Scott White into custody in April, Capt. Tim Brown of the Greenville County Sheriff’s Office said. Body cam footage released Wednesday shows White screaming when the dog engages him.

COLLEGE MALE USES GENDER-BENDING SNAPCHAT FILTER TO POSE AS GIRL, ALLEGEDLY LURE ACCUSED PEDOPHILE COP

Brown explained that the K-9 pulled the suspect out and bit his side when the officer handling the dog “briefly lost his footing.” The dog then attacked the suspect a second time on top of his head. The K-9 officer commands the dog several times to release the suspect, who continues to scream on the ground, the footage shows.

[WARNING: VIDEO CONTAINS GRAPHIC IMAGES AND LANGUAGE]

Earlier in the footage, the K-9 officer can be heard telling other deputies, “He’s getting dog bit.” As they continue searching for the suspect, he yells, “Kevin Leroy White you’re under arrest. Come out. You’re gonna get bit by a police dog.”

An investigation to determine whether excessive force was used is being conducted by the sheriff’s department and the South Carolina Law Enforcement Division, spokesman Lt. Ryan Flood said.

Meanwhile, White was treated for injuries from the dog bite at a hospital. The footage includes graphic photographs of the gashes to White’s side and head after being treated.

CLICK HERE TO GET THE FOX NEWS APP

White was wanted in Florida on a probation violation, police said. Deputies said they found 1.8 grams of crystal meth inside his pocket when he was taken into custody.

White was charged with possession with intent to distribute methamphetamine, resisting arrest, failure to stop for blue lights and other charges, police said. Florida declined to extradite him on the warrant.