Police arrested a Madison man Wednesday night on drug charges after learning from a confidential informant that he was attempting to sell cocaine and prescription pain pills.

Jordan Rand Chandler, 20, faces charges of dealing in cocaine, possession of cocaine, dealing in a controlled substance and possession of a controlled substance.

Chandler was out on bond after being arrested earlier this month on burglary and theft charges for breaking into Shawe Memorial Junior and Senior High School.

According to a news release, Madison Police detectives Kurtis Wallace and Jonathon Simpson set up the transaction with a confidential informant to purchase cocaine from Chandler in the downtown area.

After making the purchase, police continued surveillance on Chandler where they observed him make a purchase at Walmart with documented currency used during the transaction with the confidential informant.

Later Wednesday night, Chandler was stopped by Madison Police Officer Jeremy Cox. Jefferson County Sheriff's Deputy Ben Flint and K9 partner Meko assisted during the stop and conducted a search on Chandler's vehicle, the release said.

During the search, officers found prescription pain pills and cocaine. Officers also found some of the documented currency from the arranged deal with the confidential informant.

Chandler was arrested and taken to the Jefferson County Jail. Chandler was released from jail Christmas Day on a $5,000 cash bond.