A man arrested protesting at an Ohio Wal-Mart where police fatally shot a man last year has been convicted of trespassing after pleading no contest and is banned from Wal-Mart stores for two years.

A Fairborn Municipal Court official says an obstructing official business charge against Elias Kelley was dismissed Wednesday in a plea agreement. The judge suspended 29 days of a 30-day sentence and credited Kelley for one day served.

Defense attorney Mark Babb says Kelley is glad the case is over. A message seeking comment has been left for prosecutors.

Kelley is from Wilberforce. He was arrested in Beavercreek in December at a protest demanding justice for John Crawford III.

Crawford was shot while carrying an air rifle police say they thought was a real firearm. A grand jury found the shooting justified.