The long-disputed 10-year lease to allow the Oakland A's to continue playing at O.co Coliseum was finally settled Tuesday after co-owner Lew Wolff said he had accepted most of the changes made by city officials.

Wolff's acceptance closes a bitter divide between Oakland City Hall and the owners of a baseball team who have longed to move to a new, modern stadium in a bigger market. The agreement, however difficult, may also usher in an effort by Wolff to help develop the existing stadium site.

In a letter to City Administrator Henry Gardner last week, Wolff informed city officials of his interest in pursuing a new stadium at the O.co site, and the lease agreement says the team will "engage in good faith discussions" to stay in Oakland.

But if he were to decide to move the team outside Oakland, the lease allows the A's to leave as early as December 2017 by giving two years' notice. The team, however, would have to pay rent for any remaining years on the lease.

Fans were ecstatic that the A's - the team with the best record in Major League Baseball - are staying in Oakland.

"We love it they're staying in Oakland. We love the Coliseum - the atmosphere, the history, the memories, the convenience," said Alex Aguilar of Oakdale, a student at California State University-Stanislaus who had showed up with about a dozen friends to play beer pong with plastic A's cups in the Coliseum parking lot before the game with the Houston Astros Tuesday.