A Buffalo man who admitted to burglarizing two Baptist churches, one in West Seneca and the other in South Buffalo, was sentenced Wednesday to two to four years in prison.

State Supreme Court Justice Christopher J. Burns sentenced John Bish, 45, of East Tupper Street, as a second felony offender.

Bish admitted that on Nov. 29, 2011, he stole computer equipment from the pastor’s office and items from a missionary closet at Center Road Baptist Church in West Seneca.

Bish also admitted hiding in Cazenovia Baptist Church on North Legion Drive in South Buffalo during a service and then emerging to steal items from the church’s office, according to the Erie County District Attorney’s Office.