Abortions are readily available before 24 weeks - after that the restrictions become tghter - you'll get one if the mother's life is at risk, or the foetus has a severe disability.
There is a problem in some communities with late selective abortions because the parents want a child of a particular sex, so that is one driver for late abortions that tend to get investigated, I believe.