A Hannibal man and former church elder who was accused of stealing more than $300,000 from the church over a 20-year span and pleaded guilty to wire fraud was sentenced to 366 days in prison Tuesday and ordered to pay restitution to Antioch Baptist Church and an insurance company.