Hundreds of women have angrily protested in Ecuador's capital after the congress rejected a measure that would allow abortions in all cases of rape.

Some demonstrators on Friday pushed against the plastic shields of police, who used pepper spray to disperse people in the crowd near the government headquarters in Quito.

More Images
Women confront the police during a demonstration near the government palace after the refusal of the Ecuadorian Assembly to approve the decriminalization of abortion in cases of rape and incest, in Quito, Ecuador, Friday, Sept. 20, 2019. (AP PhotoDolores Ochoa)

Hundreds of women have angrily protested in Ecuador's capital after the congress rejected a measure that would allow abortions in all cases of rape.

A woman confronts the police during a demonstration near the government palace after the refusal of the Ecuadorian Assembly to approve the decriminalization of abortion in cases of rape and incest, in Quito, Ecuador, Friday, Sept. 20, 2019. (AP PhotoDolores Ochoa)

The protesters hope Ecuadorian President Lenin Moreno will veto the decision by the congress, which fell short of the 70 votes needed for the measure to pass.

Women protest near the government palace after the refusal of the Ecuadorian Assembly to approve the decriminalization of abortion in cases of rape and incest, in Quito, Ecuador, Friday, Sept. 20, 2019. (AP PhotoDolores Ochoa)

Women protest near the government palace after the refusal of the Ecuadorian Assembly to approve the decriminalization of abortion in cases of rape and incest, in Quito, Ecuador, Friday, Sept. 20, 2019. (AP PhotoDolores Ochoa)

Women confront the police during a demonstration near the government palace after the refusal of the Ecuadorian Assembly to approve the decriminalization of abortion in cases of rape and incest in Quito, Ecuador, Friday, Sept. 20, 2019. (AP PhotoDolores Ochoa)

Women confront the police during a demonstration near the government palace after the refusal of the Ecuadorian Assembly to approve the decriminalization of abortion in cases of rape and incest in Quito, Ecuador, Friday, Sept. 20, 2019. (AP PhotoDolores Ochoa)

A woman confronts the police during a demonstration near the government palace after the refusal of the Ecuadorian Assembly to approve the decriminalization of abortion in cases of rape and incest, in Quito, Ecuador, Friday, Sept. 20, 2019. (AP PhotoDolores Ochoa)

A woman confronts the police during a demonstration near the government palace after the refusal of the Ecuadorian Assembly to approve the decriminalization of abortion in cases of rape and incest, in Quito, Ecuador, Friday, Sept. 20, 2019. (AP PhotoDolores Ochoa)

Women protest in the square outside the  government palace after broke through a police line, after the refusal of the Ecuadorian Assembly to approve the decriminalization of abortion in cases of rape and incest, in Quito, Ecuador, Friday, Sept. 20, 2019. (AP PhotoDolores Ochoa)

Women protest in the square outside the government palace after broke through a police line, after the refusal of the Ecuadorian Assembly to approve the decriminalization of abortion in cases of rape and incest, in Quito, Ecuador, Friday, Sept. 20, 2019. (AP PhotoDolores Ochoa)

One of the signs at the demonstration read: "Motherhood by choice and not by rape."

Women confront the police during a demonstration near the government palace after the refusal of the Ecuadorian Assembly to approve the decriminalization of abortion in cases of rape and incest, in Quito, Ecuador, Friday, Sept. 20, 2019. (AP PhotoDolores Ochoa)

Women confront the police during a demonstration near the government palace after the refusal of the Ecuadorian Assembly to approve the decriminalization of abortion in cases of rape and incest, in Quito, Ecuador, Friday, Sept. 20, 2019. (AP PhotoDolores Ochoa)

The protesters hope Ecuadorian President Lenin Moreno will veto the decision by the congress, which fell short of the 70 votes needed for the measure to pass.

Currently, abortion is legal in Ecuador if the mother's life is in danger or in cases involving the rape of a woman with a mental disability.

A woman confronts the police during a demonstration near the government palace after the refusal of the Ecuadorian Assembly to approve the decriminalization of abortion in cases of rape and incest, in Quito, Ecuador, Friday, Sept. 20, 2019. (AP PhotoDolores Ochoa)

A woman confronts the police during a demonstration near the government palace after the refusal of the Ecuadorian Assembly to approve the decriminalization of abortion in cases of rape and incest, in Quito, Ecuador, Friday, Sept. 20, 2019. (AP PhotoDolores Ochoa)

Women protest near the government palace after the refusal of the Ecuadorian Assembly to approve the decriminalization of abortion in cases of rape and incest, in Quito, Ecuador, Friday, Sept. 20, 2019. (AP PhotoDolores Ochoa)

Women protest near the government palace after the refusal of the Ecuadorian Assembly to approve the decriminalization of abortion in cases of rape and incest, in Quito, Ecuador, Friday, Sept. 20, 2019. (AP PhotoDolores Ochoa)

Women confront the police during a demonstration near the government palace after the refusal of the Ecuadorian Assembly to approve the decriminalization of abortion in cases of rape and incest in Quito, Ecuador, Friday, Sept. 20, 2019. (AP PhotoDolores Ochoa)

Women confront the police during a demonstration near the government palace after the refusal of the Ecuadorian Assembly to approve the decriminalization of abortion in cases of rape and incest in Quito, Ecuador, Friday, Sept. 20, 2019. (AP PhotoDolores Ochoa)

A woman confronts the police during a demonstration near the government palace after the refusal of the Ecuadorian Assembly to approve the decriminalization of abortion in cases of rape and incest, in Quito, Ecuador, Friday, Sept. 20, 2019. (AP PhotoDolores Ochoa)

A woman confronts the police during a demonstration near the government palace after the refusal of the Ecuadorian Assembly to approve the decriminalization of abortion in cases of rape and incest, in Quito, Ecuador, Friday, Sept. 20, 2019. (AP PhotoDolores Ochoa)

Women protest in the square outside the  government palace after broke through a police line, after the refusal of the Ecuadorian Assembly to approve the decriminalization of abortion in cases of rape and incest, in Quito, Ecuador, Friday, Sept. 20, 2019. (AP PhotoDolores Ochoa)

Women protest in the square outside the government palace after broke through a police line, after the refusal of the Ecuadorian Assembly to approve the decriminalization of abortion in cases of rape and incest, in Quito, Ecuador, Friday, Sept. 20, 2019. (AP PhotoDolores Ochoa)