Massachusetts Attorney General Maura Healey is suing President Donald Trump over new rules allowing companies to opt out of contraception coverage.

Companies can claim an objection on religious or moral grounds, under the Trump administration's new rules, which are an effort to pare back a mandate in the Affordable Care Act, also known as Obamacare.

"The Trump administration's actions today are a direct attack on women's health and the right to access affordable and reliable contraception," Healey said in a statement.

"By gutting this mandate, the religious belief of employers will replace the basic right of a woman to care for herself and her family," Healey added. "My office has been vigilant when it comes to fighting for health care coverage and ensuring equality in the workplace."

Healey said her lawsuit will seek to "stop this rule and defend critical protections for millions of women in Massachusetts and across the country."

Healey's lawsuit is the latest legal challenge her office has filed against the Trump administration. The other lawsuits have challenged the administration's Muslim travel ban and changes to environmental rules.