Negotiators for the region's transit agency and the union representing striking workers reached a tentative agreement on a four-year contract, Gov. Ed Rendell (search) said Monday.

Rendell, flanked by union and transit agency officials, made the announcement after the conclusion of an all-night bargaining session.

"We have an agreement, and it is a good agreement," he said.

The agreement must still be ratified by both sides, but officials said workers should be back on the job for the afternoon rush hour.

The strike, the first since 1998, involved about 5,300 union members and began Oct. 31. It has inconvenienced about 400,000 daily riders, including 27,000 public school students who receive free or subsidized transit tokens.