A New York judge has dismissed a lawsuit that claimed the union representing the city’s bus and subway workers was responsible for an accident that left a firefighter critically injured.

Matthew Long, 39, was run over by a private bus while he was bicycling to work during December’s walkout. He sued the Transport Workers Union Local 100 in February, arguing the accident would not have happened had the union not gone on strike.