Herrera filed his declaration of intent to run with Elections Department Thursday and made the announcement on his campaign website today.
In his statement, Herrera touted his record as city attorney against corruption, gang violence, drugs, graffiti, big insurance companies, predatory lenders and polluters. He was elected city attorney in 2001.
Herrera said the city attorney's office, under his leadership, "is nationally recognized for its professionalism, progressive values and effective advocacy."
Herrera is the second San Francisco politician to formally announce his intention to succeed Mayor Gavin Newsom, who is in his final term. District 8 Supervisor Bevan Dufty filed his intent to run last year. The mayoral election will take place Nov. 8, 2011.
Others who have filed declarations of intent to run for mayor in 2011 are: Guy Arevalo, Adrian Coventry, Robert "Bobby" Jordan, Harold Craven Miller, Antonio E. Mims, Alexander Mondares and Wilma Pang, according to the Elections Department.
Newsom, who is running as the Democratic candidate for lieutenant governor of California, would leave the mayor's office in January if he wins. The Board of Supervisors would then choose an interim mayor to hold office until the November election.