NFL

Fantasy sports services to appeal New York court ruling

FILE - In this Sept. 9, 2015, file photo, Devlin D'Zmura, a tending news manager at DraftKings, a daily fantasy sports company, works on his laptop at the company's offices in Boston. Nevada has already decided daily fantasy sports are gambling and that people can't put their dollars down on DraftKings and FanDuel until those sites obtain a license in the state. (AP Photo/Stephan Savoia, File)

FILE - In this Sept. 9, 2015, file photo, Devlin D'Zmura, a tending news manager at DraftKings, a daily fantasy sports company, works on his laptop at the company's offices in Boston. Nevada has already decided daily fantasy sports are gambling and that people can't put their dollars down on DraftKings and FanDuel until those sites obtain a license in the state. (AP Photo/Stephan Savoia, File)

NEW YORK --

A state judge has barred daily fantasy sports sites DraftKings and FanDuel from doing business in New York.

The order issued Friday by state Supreme Court Justice Manuel Mendez also denied attempts from the country's two biggest daily fantasy sports to block the state's attorney general enforcement action.

More from FoxSports

Eric Schneiderman has called the games illegal gambling based on chance, not skill. His office sued the companies in state court to force them to stop.

The companies argue their games are based on skill and are therefore lawful.

DraftKings and FanDuel say they'll immediately appeal the court ruling.

FanDuel calls the ruling "only the beginning of the legal process" and says it ultimately expects to prevail. DraftKings lawyer David Boies said the company believes the "status quo should be maintained while the litigation plays out."

The ruling in Manhattan comes amid debate nationwide about whether online fantasy sports players are competitors or bettors.