Gainesville Mayor Danny Dunagan officially announced at Thursday's City Council work session his plan to resign as mayor at the end of August so he can run to become the city's first elected mayor in November.