The MBTA has reached a $5 million settlement with the estate of a man killed more than three years ago after his arm became trapped in the door of a Red Line train and he was dragged to his death.

Robinson Lalin, 39, a father of two living in Boston, was killed early on the morning of April 10, 2022, when an inbound Red Line train’s door closed on his arm and dragged him into the Broadway station tunnel.

Train riders attempted to help him free his arm after the train started to pull away from the station, but were unsuccessful and Lalin was battered to death by the walls of the tunnel.

His family sued the MBTA over his death, and according to court documents, the transit agency and lawyers for the estate have arrived at a multi-million dollar agreement that will end the legal battle.

“The parties have agreed to a settlement of the Estate’s claims in the amount of $5,000,000 to fully resolve the personal injury and wrongful death claims against the MBTA,” the settlement agreement reads, in part.

An investigation conducted by the National Transportation Safety Board after Lalin’s death revealed the sensor in the door meant to detect a blocking object had malfunctioned. His estate later brought a claim against the MBTA for “conscious pain and suffering and wrongful death.”

The settlement, according to court documents, “represents a compromise by the parties in recognition of the disputed claims and evidence, and the risks, resources, and expenses associated with proceeding to trial.”

Neither the settlement or Lalin were brought up at Tuesday’s meeting of the MBTA Board of Directors, where the majority of the board’s attention was focused on approving their $9.8 billion five-year Capital Investment Plan and on an update from their safety staff on planned improvements to at-grade transit crossings. The Board declined to offer a comment on the settlement when asked later.

According to Transportation Secretary Monica Tibbits-Nutt, the investment plan shows “the Healey-Driscoll administration is making transformative investments in the state’s transportation system.”

“The MBTA’s five-year Capital Investment Plan puts us on a path toward stronger service, greater reliability, and long-term competitiveness for Massachusetts,” she said in a statement after the board unanimously approved the plan.