Alameda County's Measure B1 appears to have been defeated.

It would have increased the county's transportation sales tax to a full 1 cent and made it permanent.

County election officials reported Friday that the "yes" vote for the tax increase was 66.53 percent of the 527,403 ballots cast -- about 667 votes shy of the two-thirds support needed to pass.

"There are no more votes to count," David Macdonald, the county registrar of voters, said in an email Friday. The results, however, are not official until they are certified next week, he added.

Measure B1 is being closely watched in transportation circles because it was an attempt to make Alameda the first county in Northern California to levy a full one-cent sales tax for transportation.

The measure would have raised some $7.8 billion over three decades to increase funding for roads, freeways, public transit, trails, bicycle lanes and transit-oriented development.

All 14 city councils in the county, the Alameda County Board of Supervisors and many business, labor and environmental groups supported the measure as providing congestion relief and stable local funding for transportation.

Opponents said the tax increase was too much, and they objected that the ballot measure would make the tax permanent.

Some members of the Alameda County Transportation Commission have said they would favor putting the tax increase before voters again. Before the tax increase can be put on the ballot again, the Legislature would have to approve a bill allowing the county to put the measure before voters.

The current total tax rate in most Alameda County cities is 8.75 cents for $1 of taxable goods. Passage of Measure B1 would have boosted that rate to 9.25 cents.

In other races:

State

In Assembly District 20, former Hayward City Councilman Bill Quirk barely beat optometrist Jennifer Ong in the race to represent a wide swath of territory, from Hayward to North Fremont. Quirk, a retired scientist, received 50.3 percent of the vote to Ong's 49.6.

Berkeley

Measure S, which sought to ban sitting and lying on commercial sidewalks between 7 a.m. and 10 p.m., was defeated, 52 to 47 percent.

Measure T, which would have altered zoning laws in West Berkeley to allow for flexible development and construction of 75-foot-tall buildings, lost a close battle, 51 to 49 percent.

San Leandro

Measure L, the school parcel tax, garnered 66.75 percent of the vote, just above the 66.67 percent it needed to pass. The measure had trailed, inching up slightly with each recount since Election Day, reaching the total needed to pass Thursday. The $39 annual levy measure would generate an estimated $2.4 million yearly, with the money going toward such things as music, art, athletics and libraries.

-- Staff writers Denis Cuff, Rebecca Parr and Angela Woodall contributed to this report.