WARWICK, R.I. — City Treasurer Brian Silvia has decided to remain with the city as its finance director, Mayor Joseph J. Solomon announced Wednesday.

Earlier this year, Silvia had said he planned to take a similar position with the town of Coventry. But in a prepared statement Wednesday said that after working for several weeks with Solomon, who took office last month, he’d changed his mind.

“As we worked cooperatively through the process,” Silvia said, “it became clear that the mayor and I share a similar financial background and philosophy.”

After working with Silvia closely for those weeks, Solomon said he had seen what he called Silvia’s “professionalism, dedication, work ethic, and attention to detail” and come to a similar conclusion.

“Brian already has institutional knowledge and an understanding of how our city runs,” Solomon said, “which are among the qualities I also considered when making this appointment.”

Reconstituting the city finance department emerged as an initial priority for Solomon after he moved up from the City Council presidency in May, when Mayor Scott Avedisian resigned to become chief executive officer of the Rhode Island Public Transit Authority.

At that time, both the the city treasurer and finance director posts — given Silvia’s previously stated intention to leave — were going to be vacant. Solomon said previous departures of some rank-and-file employees had also left the department strapped.

The city has hired the Rhode Island Public Expenditure Council to advise it on organizing its financial reporting and to help recruit candidates for vacant positions.