Nine days after being shot during a traffic stop, a Florida detective has been released from the hospital.

The Jacksonville Sheriff's Office said Friday on its Twitter account that the undercover narcotics detective had been released. He was shot March 9 in the head, upper body and hand by 19-year-old Kevin Rojas. Rojas had threatened earlier that day to harm his girlfriend and commit suicide.

The detective was not identified.

The detective had his teen son in the car and was going drop him at school when he pulled Rojas' white Cadillac over for driving recklessly.

Rojas was later shot by two officers after he fled the scene.

He survived and was hospitalized and will be charged with attempted murder and other charges.