The Boston City Council has voted to give itself a 14 percent raise just days before members face re-election.

Wednesday's 9-4 vote hikes councilor annual salaries up $12,000 to $99,500. It's the first raise for the 13-member panel since 2006.

The measure was submitted by Mayor Marty Walsh and also gives the mayor a $24,000 raise to $199,000, though Walsh has said he won't accept the pay bump.

The proposal, effective following the next elections for mayor and council, would have become law if the council did nothing.

Under the city charter, a mayoral proposal becomes law in 60 days unless the council acts. In this case, the deadline is Nov. 3, the same day as city council elections.

Councilor Michael Flaherty says he requested a vote in the interest of transparency.