In a surprise turn of events on the eve of opening arguments, New York City prevailed Monday in its public nuisance lawsuit against Georgia gun dealer Adventure Outdoors when Eastern District of New York Judge Jack B. Weinstein granted the city’s motion for a default judgment.

The ruling gave the city a victory in the most high-profile case in Mayor Michael R. Bloomberg’s fight against the dealers of guns used in crimes within the city. Of the 27 original defendants, three have now defaulted, 20 settled, three won dismissal and one is scheduled to go to trial in September.