City Attorney Richard “Ren” Nosky quit his job four days before the Santa Clara City Council would finish reviewing his job performance.

Nosky, 55, quit last week after five years on the job, in which he was paid $298,272 a year, Santa Clara Mayor Lisa Gillmor confirmed. He could not immediately be reached Friday.

“It’s going to be a change for him and I wish him well,” Gillmor said.

Nosky, who joined Santa Clara in October 2011, got along well with former Mayor Jamie Matthews. But Matthews quit a day after Santa Clara hosted Super Bowl 50, paving the way for Gillmor’s appointment as mayor.

Gillmor, who sparred with Matthews on issues related to the San Francisco 49ers, cleaned house in her first few weeks as mayor. City Manager Julio Fuentes — a Matthews ally — was the first to go, spawning rumors that Nosky would be next.

The City Council was scheduled to complete his Nosky’s review on Jan. 3 — it was the third closed-session to discuss Nosky’s performance. But Nosky resigned Dec. 30, announcing he’s accepted a position with the San Jose law firm of Berliner Cohen LLP. He begins his new job in early February.

Gillmor said the city is moving quickly to fill Nosky’s position. The council on Monday will have a closed-door meeting to discuss appointing an interim city attorney. A full recruitment effort is underway to find a permanent replacement, Gillmor said. In Santa Clara, the city attorney is directly appointed by the council.

“We need to get someone on board immediately because of all the issues we have with the 49ers, Related Companies, the Stadium Authority and the audit,” Gillmor said. “We have a lot of pending issues. We don’t want any interruptions in services in our legal department.”