A man was detained Wednesday night after police say he crashed into the back of an SUV while driving drunk, then pulled a knife on himself during the investigation.

The crash happened around 10 p.m. at the intersection of Lockhill Selma Road and Northwest Military Highway, according to a San Antonio Police Department officer.

Police say the man, in his 30s, rear-ended an SUV that was stopped at a red light.