NEW YORK — The city’s first new subway station in a quarter-century opened Sunday, linking Times Square to a booming neighborhood on Manhattan’s far West Side.

“This is really a monumental day for the city,” Mayor Bill de Blasio told hundreds of guests at the inauguration for the gleaming No. 7 station at 34th Street, part of the transformation of a once-desolate industrial area.

The extension is expected to bring more than 30,000 riders a day to a neighborhood where construction is underway for the 50 million-square-foot Hudson Yards complex of office towers and residential high-rises.

The mayor called the neighborhood “a whole new city being created within our city, connected with thousands of jobs.”

A short walk away is the popular High Line elevated park built on defunct rail tracks.

The $2.4 billion extension was funded by the city under de Blasio’s predecessor, Michael Bloomberg.