Anchorage voters have rejected an initiative that would have regulated access to restrooms and locker rooms by a person's sex at birth instead of gender identity, a local version of what's known nationally as a "bathroom bill" that sparked massive spending by an opposition campaign.

The latest election results released Friday show Proposition 1 was failing by a six-point margin, with 77,766 ballots counted. There are fewer than 1,000 ballots left to be counted, election officials said.

Opponents of Prop. 1 declared victory Friday night. Lillian Lennon, an organizer with the Fair Anchorage campaign and a transgender woman, read the results aloud to a small group assembled at the city's election headquarters on Ship Creek.

"It means that Anchorage stood together as one community against a discriminatory proposition," Lennon said in an interview later.

Fair Anchorage raised more than $800,000 toward advertising, consulting services, phone banking, events and other campaign activities, making it one of the most expensive campaigns in the city's history. The records indicate a large infusion of Outside cash from various donors.

The city has fought bitter battles over LGBT rights in the past, most recently in 2012.

Prop. 1, meanwhile, was apparently one of the country's first "bathroom bills" to appear on a ballot as an initiative.

In an email to supporters earlier this week, Jim Minnery, the president of Alaska Family Action and the husband of Prop. 1 sponsor Kim Minnery, said he was still hopeful for a victory but acknowledged the odds were slim. He called the campaign an "uphill battle," saying his side was outspent by a six-to-one margin.

Minnery pledged to keep up the fight, however.

He contended a majority of voters disapproved of the city's nearly 3-year-old law to allow people to use the restroom that corresponds with their gender identity, but were confused by the initiative's purpose.

Lennon, with the Fair Anchorage campaign, also said Friday's results indicated supporters of the non-discrimination law still had work to do.

In other close races, Friday's updated results showed Alisha Hilde beating out her next-closest challenger, Tasha Hotch, to win a School Board seat.

From initial results released Tuesday, no races were overturned.

Anchorage Mayor Ethan Berkowitz won his second term Thursday, with his main challenger, Rebecca Logan, conceding the race. Berkowitz also scored other victories for his administration on the ballot, like permission to sell the city's electric utility and to give homeowners a higher property tax break.

A few hundred more ballots, mailed and absentee, may trickle in before a public canvassing session April 13 where the city's Election Commission reviews questioned ballots. The canvassing will include the review of close to 570 ballots from voters whose signatures could not be verified, said Carolyn Hall, the education and outreach coordinator for the election.

This was Anchorage's first-ever vote-by-mail election, and it shattered turnout records.

As of Thursday, turnout by party still followed typical patterns for an election, according to an analysis by Dittman Research, a campaign consulting firm that often works for Republicans but did not have clients in this election.

Nonpartisan voters turned out in the highest number, at 43.2 percent of those registered as nonpartisan. About 40 percent of registered Republicans voted, followed by about 39 percent of registered Democrats, the analysis shows.

Unofficial results for key races as of Friday night:

Mayor

Ethan Berkowitz: 41,886 (55.1 percent)

Rebecca Logan: 28,020 (37.1 percent)

Dustin Darden: 1,460 (1.9 percent)

Paul Kendall: 1,114 (1.5 percent)

Timothy Huit: 877 (1.1 percent)

Ron Stafford: 454 (0.5 percent)

Nelson Godoy: 423 (0.5 percent)

Matthew Mendonsa: 360 (0.5 percent)

Jacob Kern: 264 (0.4 percent)

School Board — Seat E

Alisa Hilde: 18,466 (29.3 percent)

Tasha Hotch: 17,532 (27.8 percent)

Don Smith: 10,753 (17.0 percent)

David Nees: 10,673 (16.9 percent)

Ron Stafford: 4,871 (7.7 percent)

School Board — Seat F

Deena Mitchell: 43,320 (70.1 percent)

Phil Isley: 17,501 (28.3 percent)

School Board — Seat G

Elisa Snelling: 32,469 (57.4 percent)

Irene Weisman: 22,970 (40.7 percent)

Prop. 1 — Regulating Access to Facilities Such As Locker Rooms and Bathrooms

No: 40,378 (52.7 percent)

Yes: 36,234 (47.3 percent)

Prop. 10 — Sale of ML&P to Chugach Electric

Yes: 48,801 (65.2 percent)

No: 26,084 (34.8 percent)

Prop. 11 — Larger Residential Real-Property Tax Exemption

Yes: 54,433 (72.5 percent)

No: 20,692 (27.5 percent)

Prop. 9 — Charter Amendment Permitting Delegation of Parking Enforcement In Girdwood to Employees of Any Police Department

Yes: 49,270 (67.2 percent)

No: 24,025 (32.8 percent)

Prop. 12 — Annexation of the Eagle River Valley Area to the Anchorage Fire Service Area

Areawide:

Yes: 47,551 (69.9 percent)

No: 20,501 (30.1 percent)

Within service area (approval needed to pass):

No: 334 (64.0 percent)

Yes: 188 (36.0 percent)

Bonds

Prop. 2 — Anchorage School District Capital Improvement Bonds

Yes: 45,267 (59.2 percent)

No: 31,221 (40.8 percent)

Prop. 3 — Anchorage Road and Drainage Service Area, Road and Storm Drainage Bonds

Yes: 48,092 (63.4 percent)

No: 27,813 (36.6 percent)

Prop. 4 — Anchorage Parks and Recreation Service Area Capital Improvement Bonds

Yes: 45,231 (59.8 percent)

No: 30,430 (40.2 percent)

Prop. 5 — Anchorage Metropolitan Police Service Area Facilities Bonds

Yes: 47,341 (62.1 percent)

No: 28,924 (37.9 percent)

Prop. 6 — Anchorage Fire Service Area Fire Protection Bonds

Yes: 50,509 (66.6 percent)

No: 25,331 (33.4 percent)

Prop. 7 — Areawide Facilities Capital Improvement Project Bonds

Yes: 44,826 (59.4 percent)

No: 30,658 (40.6 percent)

Prop. 8 — Areawide Public Safety and Transit Capital Improvement Bonds

Yes: 44,414 (58.9 percent)