State police say a Connecticut man died of an apparent heart attack late last night after he was pepper-sprayed by a trooper during a violent struggle on the Massachusetts Turnpike.

An autopsy is pending on the body of Donald T. Moskites, 47, of Windsor, Conn., who state police said has “had multiple interactions” with law enforcement in the past. It was not immediately clear to investigators why he was in Boston and what his reason was for walking on a Pike ramp in Brighton at about 10 p.m.

State police spokesman David Procopio said two troopers who tried to help Moskites were violently attacked. One was bitten on the forearm, he said.

“Per departmental use-of-force policy, State Police will review the facts and circumstances of the incident,” Procopio said in a statement. “As in all serious use-of-force cases in Suffolk County, the office of District Attorney Daniel F. Conley will ultimately review the incident and determine if the use-of-force was lawful.”

During the scuffle, Procopio said, one trooper pepper-sprayed Moskites and Moskites “went into apparent cardiac arrest.”

The troopers performed CPR and called for EMS assistance. Moskites was taken to St. Elizabeth’s Hospital, where he was pronounced dead, he said.