SAN FRANCISCO (KCBS) _ The California Supreme Court has ruled that San Francisco Supervisor Michela Alioto-Pier cannot run for another term.

She had been seeking re-election in November in the race for the District Two seat.

Under term limits passed by San Francisco voters 20 years ago, elected officials can only serve two consecutive four-year terms.

Alioto-Pier was first appointed by Gavin Newsom after he was elected mayor in 2004.

She had to run for election the following November to serve out the remainder of Newsom’s term, which ended in January 2007.  She was then re-elected in November 2006 to a four-year term which ends next January.

Alioto-Pier argued that since she first served a partial term, she hadn’t reached the limit of two consecutive terms and was eligible to run in November.

The Department of Elections was looking to keep her name off the ballot, arguing that if appointees serve more than two years, it should count as a full term.

Last week, the California Court of Appeal ruled 3-0 that San Francisco’s voter-approved term-limits law bars her from seeking another term.

She took her case to the state’s high court, asking that the appeals court opinion be stayed while the higher court takes up her case. That request was denied.