Mayor Hannemann resigned from office on July 20 , 2010 .
Mayor Hannemann formally became a candidate for Governor of Hawaii .
Mayor Hannemann resigned from office on July 20 , 2010 , and formally became a candidate for Governor of Hawaii .