The last of six defendants was sentenced Thursday for attacking a pregnant woman in an attempt to make her miscarry last year in Long Beach, according to authorities.

Claudia Rodriguez, 20, previously pleaded no contest to one count of attempted murder and one count of kidnapping, according to court records.

On Thursday, a Los Angeles County Superior Court judge sentenced her to 10 years and eight months in prison, said Deputy District Attorney Troy Davis.

Five other defendants, including the pregnant woman’s boyfriend, have already been sentenced for their part in the plot, according to Davis.

Prosecutors previously said that the boyfriend, Angel Contreras, enlisted help from the group to attack the girlfriend twice, hoping to cause a miscarriage.

On March 4, 2016, she was punched in the stomach while she was about 13-weeks pregnant, and less than three weeks later, she was dragged off a bus and into a car before a passerby saved her, according to authorities.

Contreras was 17 at the time of the attacks. Prosecutors did not specify the girlfriend’s age.

She later had the baby without any serious problems, according to authorities.

“The baby’s fine,” Davis said.

The other defendants also pleaded no contest to various charges and have already been sentenced, according to authorities.

Contreras received 11 years and 8 months in prison.

Candy Patricio, 20, received 10 years and 10 months in prison.

Jessica Florencia, 20, received seven years in prison.

Makenna San Miguel, 19, received nine years in prison.

Shannon Montano, 19, received probation and some public service hours.

Davis said Montano did not know the girlfriend was pregnant and only participated in the attack by acting as a driver for the others.