Richard D. Hanes is charged with second-degree murder, a Class A-1 felony, in the beating death of Raymond Morgan on July 24.
The crime occurred at 111 Liberty St. in the City of Batavia.
Hanes was indicted by a Grand Jury and arraigned in Genesee County Court this afternoon.
The charge carries a mandatory life sentence if convicted.
UPDATE: Investigators believe murder of Ray Morgan was premeditated