A man charged with threatening to kill employees of The Boston Globe last summer will plead guilty to all seven criminal counts against him, his lawyer said on Monday.

The man, Robert D. Chain, made a series of menacing phone calls to the Boston newspaper from his home in California last year, according to court documents. Transcripts of his comments during the calls show that Mr. Chain repeatedly threatened to shoot employees in the head, mentioned President Trump several times and used the phrase “enemy of the people,” which the president has frequently used to describe the news media.

“We will hunt you down and kill you and your dogs,” Mr. Chain said in one of the phone calls, according to court documents.

Mr. Chain, 68, was arrested in August at his home in the Los Angeles neighborhood of Encino. He was charged in federal court in Boston with seven counts of making threatening communications in interstate commerce. The charge carries a maximum prison sentence of five years.