NEW YORK — A New York judge says he hopes to issue a ruling soon on the fate of the Occupy Wall Street encampment that was demolished by police.

Protesters represented by the National Lawyers Guild asked the court Tuesday to declare that the city acted illegally in evicting hundreds of demonstrators from Zuccotti Park.

The eviction happened around 1 a.m. Hundreds of officers in riot gear pushed demonstrators out of the park and hauled away their tents and sleeping bags.

The city says it intends to enforce rules prohibiting camping in the park.

There was no immediate ruling by Judge Michael Stallman, but he said he hoped to make a decision later in the afternoon.