NEW YORK - (AP) - An agreement has been reached between New YorkCity doormen and building owners, averting a possible midnightstrike.

Union spokesman Kwame Patterson says the four-year deal includesa 10 percent wage increase over the life of contract and nogivebacks in benefits.

The union and building owners' association had until 12:01 a.m.Wednesday to hammer out a deal. Patterson said the agreement wasreached at 12:10 a.m.

Nearly 1 million New York City apartment dwellers rely ondoormen and other building workers to make life in a high-rise runsmoothly.

The union and the Realty Advisory Board that represents buildingowners were fighting over wages and benefits, including healthcare, sick days and overtime rules.

Local 32BJ of the Service Employees International Unionrepresents 30,000 workers at 3,200 apartment buildings.

The union last went on strike in 1991 and nearly went on strikein 2006.