Throwing heroin and prescription pills out a window, a drug dealer raced through LSU’s campus and a nearby neighborhood Thursday night, nearly plowing into several people, according to an affidavit of probable cause.

An informant told city police about drug dealings at the intersection of Willard Street and East State Street. Detectives visited the area Thursday about 7 p.m. and saw a man “park his vehicle and begin moving around the cab,” the affidavit states. The man would later be identified as 24-year-old Terrance Thibodaux, of 4425 Rabey St., Baton Rouge.

When detectives approached the car, Thibodaux took off, bursting through a fence, and driving on a yard before getting onto East State Street, where he threw out his window a baggie containing about a gram of brown powder believed to be heroin, according to the affidavit.

As Thibodaux drove onto another yard, an officer and a civilian had to dive out of the way, narrowly missing the vehicle. Thibodaux then took off through the LSU campus, driving 25 mph over the speed limit and blowing through stop signs and red lights, police wrote. As he drove, officers saw him again throw a baggie out the window, later determined to hold 39 pills of alprazolam, a drug used to treat panic and anxiety disorders.

Thibodaux finally stopped north of campus, at the intersection of Highland Road and Taylor Street, where he was taken into custody. Officers found $1,336 in cash on Thibodaux that they believe to be connected with drug sales.

He was booked on one count each of attempted murder, attempted murder of a police officer, possession with intent to distribute heroin, possession with intent to distribute alprazolam, resisting an officer, aggravated flight and obstruction of justice.