New Jersey’s ban on Facebook ads is being challenged in court.

The state Supreme Court on Thursday issued an order ordering the state to reinstate its ban.

A Facebook spokesperson said it was “working with New Jersey to get the court’s order back.”

New Jersey currently allows Facebook ads in some places, but Facebook did not immediately respond to a request for comment on the ruling.

The New Jersey ban was set to go into effect on Friday, though it will not be fully implemented until June.

The ruling will also affect the District of Columbia, which recently banned ads in a similar fashion.