A Melbourne man was arrested Monday in Fort Pierce after he allegedly paid a confidential informant $900 for 4 ounces of marijuana.

James Michael Chafin, 42, was charged with possession of marijuana with intent to sell and possession of more than 20 grams of marijuana, according to a St. Lucie County Sheriff's Office arrest affidavit. He was released from the St. Lucie County Jail on Tuesday after posting $15,000 in bond, jail records show.

The informant told a deputy Monday that Chafin was trying to buy the marijuana and the deal was set up by telephone, the affidavit said. Chafin was arrested after the drugs, provided by the Sheriff's Office, and the money changed hands, it said.

Chafin told a deputy he did not use marijuana, but sells a little of it to make ends meet in hard economic times, the affidavit said.