A man guilty of defrauding a Casper company by writing a bad check for $28,500 will be on supervised probation for four years, Assistant District Attorney District Attorney Mike Schafer said Friday.

Christoper Marks wrote the check to Rummel's Oil Field Services for three trucks in April 2013, but the check was returned because of non-sufficient funds, according to an affidavit filed with Natrona County Circuit Court.

The Natrona County Sheriff's Office obtained a search warrant for Marks' bank account and found that Marks had deposited $5,313 into his account and withdrew $5,303.73, leaving a balance of $30.95.

On Thursday, Natrona County District Judge Catherine Wilking sentenced Marks to three to five years imprisonment, suspended that sentence, and imposed the four years of probation.

Schafer said Wilking also ordered Marks to pay $28,632.22 in restitution.