Eighteen states and Washington, D.C., signed onto the lawsuit filed Friday in federal court in California, according to Sarah Lovenheim, a spokeswoman for California Attorney General Xavier Becerra (D).

On Thursday night, Trump announced he would stop making the payments, which led to an outcry from critics saying he was sabotaging the health-care law.

The complaint will seek a temporary restraining order, preliminary injunction and permanent injunction requiring the cost-sharing reduction payments be made.