One of the city's oldest watering holes just got an extra week of life.

A Manhattan Civil Court judge Tuesday issued a temporary restraining order and ceased all eviction proceedings for the Subway Inn, which was set to close Wednesday.

The Salinas family, who owns the 77-year-old bar at 143 E 60th St., were told in July by World-Wide Group, the developers that own the property, that they would not be offered a new lease and had less than a month to vacate.

Although both parties will return to court next Wednesday for a follow-up hearing, Steven Salinas, the son of owner Arsenio Salinas, said he was confident they will prevail.

"We know that this is just the first step in a very long and hard David-vs.-Goliath fight; however, we are confident that in the end justice prevails and the Subway Inn will be spared from the wrecking ball," he said in a statement.

A representative for World-Wide Group declined to comment.

Last week, the developers said it bought the property in 2006 with the intention of developing the lot, and that the Subway Inn owners had been aware of the plans for years.

The bar has gone to social media to rally its patrons to save it with petitions, a protest and the legal action.

Subway Inn has had a long history with the community and was a popular spot for celebrities, including Joe DiMaggio and Marilyn Monroe.

Wantagh homicide arrest ... Trump on LI tonight ... Menopause podcast Credit: Newsday

Updated 47 minutes ago Snow, wind causing messy commute ... Wantagh homicide arrest ... Penny trial latest ... Failed public housing inspections

Wantagh homicide arrest ... Trump on LI tonight ... Menopause podcast Credit: Newsday

Updated 47 minutes ago Snow, wind causing messy commute ... Wantagh homicide arrest ... Penny trial latest ... Failed public housing inspections

SUBSCRIBE

Unlimited Digital AccessOnly 25¢for 6 months

ACT NOWSALE ENDS SOON | CANCEL ANYTIME