Peter Power/Toronto Star Via Getty Images Anti-abortion activists demonstrated outside Western University in London, Ont. to protest Dr. Henry Morgentaler's honorary degree on June 16, 2017.

TORONTO — It will soon be illegal to protest outside and near abortion clinics in Ontario. The legislature passed a bill Wednesday to create zones around the eight clinics in the province of between 50 and 150 metres in which anti-abortion protests, advising a person not to get an abortion, and intimidation or interfering with a woman's ability to access the services will be banned. The ban will also automatically apply to 150 metres around the homes of abortion staff and health professionals who provide the services. Attorney General Yasir Naqvi cheered that all three parties worked together to pass the legislation on a sped-up timeline.

Toronto Star via Getty Images Yasir Naqvi speaks at a news conference at Queen's Park, Oct. 28, 2015.

"We as legislators have passed a very important piece of legislation ensuring that women have safe access to health-care services like reproductive health and abortion services," he said. "We worked on this bill on a very short time frame to ensure that we protect women." The bill's timing had inflamed political tensions between the governing Liberals and the Opposition Progressive Conservatives. The Tories had proposed passing the bill immediately after it was introduced, with no debate or committee hearings, and the Liberals declined, which led the PCs to accuse the government of trying to draw it out, hoping it would expose divisions within the PC party. Opposition Leader Patrick Brown noted his party unanimously voted for the bill's passage Wednesday, and said it did not cause any divisions within his caucus. Several of his caucus members — including those who have espoused socially conservative views — however, were absent for the vote. Two were away for health reasons, Brown said, though they are not the members who hold those views. Bill can withstand constitutional challenge: Naqvi Brown did not directly address the absence of the social conservative members, but noted many Liberals were away as well. That included two of three Liberals who have been praised by anti-abortion group Campaign Life Coalition for their views. The lone politician to vote against the bill was Jack MacLaren, a former Progressive Conservative who now sits as an independent after joining the Trillium Party, which the legislature does not recognize as an official party. Campaign Life Coalition released a statement threatening a legal challenge to the bill "if necessary," saying it attacks freedom of speech. Naqvi has previously said that going through a proper legislative process — even an expedited one — versus immediate passage helps to ensure the bill can withstand a constitutional challenge. Earlier On HuffPost: