Catholic Argentina's lower house has supported a bill legalising abortion in the first 14 weeks of pregnancy.
After a that lasted for about more than 22 hours, 129 members of the Chamber of Deputies voted in favour and 125 against while one abstained.
The bill will now have to go to the Senate.
President Mauricio Macri has strongly opposed the bill but has said that he would not veto it if it was passed by both houses.
Abortion is currently illegal in Argentina, except in cases of rape or when the life or health of the woman is at risk. Women seeking abortions also have to apply to a judge for permission, which according to the critics can unnecessarily delay the procedure.