A woman has pleaded guilty to raping twin brothers, one of whom was her daughter’s 15-year-old boyfriend.

Heather Salines from Massachusetts was sentenced to four years in prison and three years’ probation after she was convicted of child rape and enticement, as well as dissemination of obscene matter to a minor, indecent assault and battery.

Salines has been prohibited from having unsupervised contact with children under the age of 16.

She will be required to register as a sex offender and wear a GPS ankle monitor after prison.

The Boston Herald reported that district attorney Jonathan Blodgett said she was “beyond despicable”.

She was arrested in March 2014 when her daughter’s then boyfriend was caught showing nude pictures of Salines to classmates.

Upon questioning, Salines admitted they had engaged in a sexual relationship after he confessed his personal troubles to her.

She said she “spiralled out of control” and that the boy “did not act like a 15-year-old”.

The victim’s twin brother also accused Salines of rape in June 2015.

The second brother wrote in an impact statement that he suffered depression and had suicidal thoughts.

"Relationships with people in my life were ruined and many thought I was in the wrong and treated me like the situation was my fault and I was disgusting," he wrote.

"I spent a lot of nights crying and thought I was worthless.

"There were times I convinced myself I shouldn’t be in this world and thought about killing myself. I felt like a train was going through my chest."