AUGUSTA — Gov. Paul LePage said Wednesday he’s reached a tentative two-year contract agreement with the union representing state workers after 2 years of negotiations.

LePage’s office announced the agreement with the Maine State Employees Association on Wednesday night.

LePage’s office says the agreement provides for unspecified wage and merit increases and eliminates excessive provisions that cost taxpayers money. LePage says the deal also includes job security provisions for workers who don’t want to pay union fees.

A message left with the union was not immediately returned. An update on its site earlier in the day said the union had received a “serious” contract offer and was “cautiously optimistic” about reaching a deal.

The MSEA membership must still ratify the deal. The new contract would be effective through June 30, 2015.