Sports betting is getting off the ground in D.C. with licenses for other betting facilities likely to be issued in the coming months.

Michael Conroy / AP Photo

A D.C. judge ruled on Friday that the D.C. Council likely did not violate the law when it granted a Greek gaming company a no-bid, $215 million contract earlier this year to run the city’s lottery and create a sports betting app.

The decision rejecting a request for a preliminary injunction against the city reverses another judge’s ruling from late September, and clears the way for the time being for D.C. and its lottery operator Intralot to continue developing a sports betting app that is expected to be made available to the public in the coming months.

The legal tussle stems from a lawsuit filed by D.C. resident Dylan Carragher, who said in court filings that he intended to create an app to compete in what city officials say will be a lucrative sports betting market. The Council legalized sports betting late last year. But he said he was shut out of that opportunity when the council gave Intralot, which currently operates the city’s lottery, a no-bid contract that includes the sole right to develop a sports betting app. Residents and visitors will be able to use the app from anywhere in the city.

Carragher argued that the no-bid contract violated the city’s Home Rule Act, which requires that the city’s chief financial officer, who oversees the D.C. Lottery, abide by a law that requires competitive bidding for all city contracts. He asked for a preliminary injunction to stop the city and Intralot from any further work on the app until the merits of the lawsuit could be heard.

But Judge John M. Campbell denied that request on Friday, saying the Council legally exempted the CFO from that law.

“We can spend all day debating whether it’s a good idea or not. We can debate all day whether the Council should have done it. But it was clearly and plainly within the Council’s authority,” he said. “It’s been done before, and it will probably be done again.”

Campbell’s decision isn’t the last word on the matter, though. Donald Temple, Carragher’s attorney, said he intends to continue pursuing the issue, most likely at a hearing that could take place next month on the merits of the lawsuit, or in a separate appeal.

Criticism of the Council’s no-bid contract has also come from within the Wilson Building, where two lawmakers have asked for a review after the Washington Post raised questions about Intralot’s local partner in the lottery and sports betting venture.

In the meantime, sports betting in D.C. is slowly getting off the ground. Licenses for sports betting facilities will likely be issued in the coming months, and short of other legal hiccups, Intralot says its app—which will work citywide—should be ready by January. Other apps will work in D.C., but only within designated sports betting facilities.

Sports betting is currently legal in 13 states, though D.C. would be the first jurisdiction in the Washington region to permit it.

This story originally appeared on WAMU