HAMPTON, N.H. — The New Hampshire man accused of bludgeoning his roommate to death with a sledgehammer has a history of violent crime, records show.

Peter Bartoloni, 70, was arraigned Tuesday on two counts of second-degree murder in the death of 56-year-old Robert Roderick last week. Prosecutors said the two men had been roommates briefly before Bartoloni used a sledgehammer to kill Roderick.