Published: Dec 24, 2013 4:11 PM EST
Updated: Dec 24, 2013 4:54 PM EST

COLLIER COUNTY, Fla.- A Collier County deputy is out of a job tonight. James Brooks is accused of trying to make a deal with a former inmate, but deputies were able to build a case against Brooks and arrested him just before the two made the trade. WINK News was able to get Brooks' arrest report and learns more about why he was taken into custody Monday night.

According to the arrest report, James Brooks was planning on trading either money or prescription drugs for a laptop with an inmate once he was released. Brooks even gave the inmate his phone number to call when he was released from jail, but that inmate turned Brooks in and deputies were able to bring him down.

The report says in return for the laptop, Brooks said he would repay the former inmate with vicodin or half the price of  approximately $600.00 laptop. That inmate, turned confidential informant, told detectives and worked with them on this case. On Monday night, detectives were nearby as Brooks attempted to trade the pills for the laptop.

When deputies made the arrest Monday night, they also found a fully loaded handgun in the drivers side door.