Cop who pulled gun on teens in viral video previously accused of racial bias

>> RELATED: Texas cop who pulled gun on teens at pool party resigns

In the complaint, Brown said Casebolt pulled down Brown's pants on the side of the road and touched Brown's "private area" in an April 2007 search. Brown claimed that Casebolt said he had spotted marijuana seeds in Brown's car but found nothing. Brown also said Casebolt called him a "dope dealer" and one of Brown's companions a "crackhead." The complaint said other officers slammed Brown's head into a police vehicle and sexually assaulted his companion. Read more about the complaint here.

>> Texas woman says cop who pulled gun at pool party 'deserves a medal'

Attorneys for Casebolt and the other officers said the authorities found marijuana seeds, a bag of marijuana and crack-cocaine while searching Brown and his companions. A motion claimed officers pushed Brown onto the police vehicle because he was trying to reach for a weapon and remove his handcuffs, the Express-News reported.

>> Texas teen who shot shocking video of cop at pool party speaks out

A judge reportedly dismissed the complaint in 2009.

A lawyer confirmed Tuesday that Casebolt has resigned after the release of a video that appears to show him using profanity, slamming 15-year-old Dajerria Becton to the ground, and drawing his weapon on other teens at a pool party at Craig Ranch North Community Pool. The department is investigating the incident.

>> 5 things to know about Eric Casebolt, Texas officer in shocking pool party video

>> Click here to watch the video of Friday's incident. (NOTE: Graphic language and content.)