When she realized that she was four months pregnant, she thought that an abortion would solve the problem.
When she discovered her pregnancy was four months along, she believed that an abortion would resolve the issue.