A New York federal judge blocked Northwest Airlines flight attendants from going on strike Friday, handing a victory to the airline just hours before a planned strike action that could have devastated the cash-strapped company.

U.S. District Judge Victor Marrero said he will issue an injunction to allow time for him to examine the case. He said Northwest Airlines Corp. made a “persuasive case” that a delay in any strike was necessary so that the legal issues could be resolved.