As transit union workers cheered the arrival of 250,000 N95 masks Saturday, angry corrections workers remained at war with the city over access to the same protective gear.

The Metropolitan Transportation Authority quickly began distributing the in-demand protective masks to safeguard transit workers from the coronavirus, with 159,000 eventually targeted for New York City Transit, another 40,429 to the Long Island Rail Road, 36,357 for Metro North and an additional 12,429 to Bridges and Tunnels.

“We continue to do everything we can to protect the health and safety of the 74,000 hardworking men and women who are keeping New York moving through this difficult time,” said MTA Chairman and CEO Patrick J. Foye, who himself tested positive for coronavirus.

“Transit workers are among the heroes of this pandemic and this personal protective equipment will help keep them safe as they perform their essential work.”

Things initially looked good for the correction workers when a Queens judge ordered the city late Friday to provide the N95 masks to each guard before their shifts at Rikers Island and other city facilities. But city lawyers appealed the ruling, leaving the guards without masks until at least after a hearing set for this Thursday.

“It is outrageous that we even have to be in court to ensure our employer protects the lives of our members,” said Elias Husamudeen, president of the 9,000-member Correction Officers Benevolent Association.

On its own, the union acted to protect its members by buying them 25,000 face masks.

City officials said they expect the appeals court to find that “the steps we have taken to ensure our correctional facilities are safe,” and notes that it has provided masks to employees — but not as many as the union would like.

By the end of last week, 231 suspects and 223 Correction Department staffers had testified positive for COVID-19.