HAYWARD -- Mayor Michael Sweeney will not seek re-election when his term ends next July, retiring from public office.

The mayor is serving his second consecutive term. He was elected in 2006 and 2010 and served an earlier term as mayor from 1990 to 1994. He was first elected to the Hayward City Council in 1982.

In 1994, Sweeney was elected to the state Assembly, where he served until 1998.

The mayor, 63, made the announcement Wednesday. "Next July, I will complete my 12th year as mayor, and my 20th year on the Hayward City Council, and it will mark nearly 30 years of public service, and approximately 38 years of activism," he said in a statement. "I've decided it is time for me to step aside, to spend more time at home and to find other ways of volunteering my time for the community."