BROCKTON – They lured her into an apartment, shoved a shotgun in her face, tied her up and took turns beating and torturing her over the next four hours.

The 31-year-old Hanover woman had recently received a $6,000 settlement and, on Feb. 6, 2013, police said, five men attacked her in a Rockland apartment and threatened to rape her if she didn’t give them the cash.

Joseph MacDonald, 34, of Hingham and Damian Cox-Bush, 23, of Mattapan were sentenced Tuesday in Brockton Superior Court after a jury found them guilty of kidnapping and assault and battery charges.

Two were tried as co-defendants in the trial that lasted six days.

The other three men, John Tamulevich, 21, of Brockton; Bernard Holmes-Fox, 21, of Mattapan; and Paris Holmes-Fox, 24, of Mattapan all pleaded guilty last month to charges related to the incident.

Joseph MacDonald grew up with the victim and the two had been friends for nearly 20 years, said Plymouth County District Attorney Amanda Fowle. The victim told police that before the attack she had talked about the settlement she received a few weeks prior with MacDonald’s girlfriend.

“The defendant (MacDonald) took advantage of that friendship. He lured the victim into that apartment in Rockland under the guise of potential heroin use,” Fowle said Tuesday before Judge Cornelius Moriarty. “He stood by while she was severely beaten. He did nothing to help her.”

The attack took place in the Spring Gate apartments on Hannah Way in Rockland.

The victim told police that the men bound her legs together with black cord and tied her arms to a chair. They hit her in the face with a shotgun, threatened her with a hammer and continued to demand her money even after they took about $70 in cash and two silver rings.

The woman suffered what was described in medical records as a “broken face,” Fowle said.

She eventually told her captors that the money was at her brother’s house in Carver. They allowed her to used a phone to call her brother whom she instructed to call 911, police said.

Police searched the apartment where the incident took place and found bloodstained sheets, pieces of black cord and a hammer tucked under a pillow.

A resident of the apartment complex found a loaded shotgun matching the one described by the victim on the ground outside a nearby building.

As they were being sentenced Tuesday, MacDonald and Cox-Bush stared forward as judge Moriarty told them their fates.

While there was no evidence presented during the trial that MacDonald physically harmed the victim, Moriarty sentenced him to nine to 10 years in state prison.

“He lured her up there, he knew that she was going to be beaten and she was,” Moriarty said. “This conduct is insidious and callous and in my view it warrants a substantial punishment.”

Page 2 of 2 - “His record is replete with crimes of violence,” Moriarty said.

Cox-Bush took part in the beating and was sentenced to five to seven years in prison.