Abortion will stay legal in Wyoming after the state's top court struck down laws that placed a near-total ban on the procedure.

The court ruled that Wyoming's anti-abortion legislation, including the nation's first ban on abortion pills, were in violation of the state's constitution.

"A woman has a fundamental right to make her own health care decisions, including the decision to have an abortion," the court wrote in a 4-1 decision.

Lawyers for the state had argued that abortion could not violate Wyoming's constitution because it does not constitute health care.

Wyoming is one of many states in which legal fights over abortion bans have ensued since 2022 - when the Supreme Court reversed the landmark 1973 Roe v Wade judgement legalising abortion.