 It was unclear when the election could or should be held due to a confusing phrase that says the "vacancy in the mayor's office shall be filled at the next election permitted by law", yet not elaborating on what "permitted by law" means.Ravenstahl instructed the city's legal department to quickly obtain a decision as to when the election should be held.On October 12, 2006, the Allegheny County Board of Elections decided unanimously that mayoral candidates would compete in the May 15, 2007, primary election followed by the November 6, 2007, general election, with the winner of the general election taking office immediately after the certification of the election results for a term ending in January 2010.