Police in Nigeria’s largest city have rescued 19 women and young girls — most of whom were kidnapped, raped and impregnated so their captors could sell off their babies, authorities said.

The victims, who range in age from 15 to 28, as well as four babies, were freed from so-called “baby factories” around the Ikotun area of the city of Lagos, cops said.

“The young women were mostly abducted by the suspects for the purpose of getting them pregnant and selling the babies to potential buyers,” Lagos police spokesman Bala Elkana said.

The victims, who are mainly from eastern Nigeria, “were tricked with employment as domestic staff in Lagos,” Elkana said.

“Baby factories” are not uncommon in parts of eastern Nigeria where, according to Elkana, boys can be sold for $1,630 and girls sold for $980.

According to the spokesman, the women and young girls were freed following a secret police raid carried out on Sept. 19.

Two women, ages 40 and 54, were arrested in connection with the case and police say they’re on the hunt for a third person — their lead suspect.

One of the rescued women said she was impregnated by her boyfriend and told by her aunt that there was a job for her in Lagos.

The victim, who did not want to be named, said a woman whom she had met induced her labor when she was just seven months pregnant.

“After being in labor for three days, that was when police raided the place and took all of them. The baby came out weak and finally died,” the woman told Reuters.

Elkana said the state criminal investigation department would assume control of the case.

Authorities were working to rehouse the women and girls and their babies.

With Post wires