When sanctuary city San Francisco put local taxpayers’ money where local officials’ mouths are by spending nearly $310,000 to encourage illegal aliens to register to vote in school board elections, exactly 49 of them did so.

That works out to an average cost of $6,326 per registered illegal alien.

“The program is the first of its kind in California and followed passage of a 2016 San Francisco ballot measure opening school elections to noncitizens who are over the age of 18, city residents and have children under age 19,” according to the San Francisco Gate.

This comes at the same time that spending on San Francisco public schools is suffering, even though California education aid is on the increase.

“Despite the increase in state funding, growing pension and salary demands have manifested themselves in a 5 percent reduction of a combination of programs and staff positions across the district’s central office departments over the past year, and more cuts are on the horizon,” the San Francisco Examiner reported Sunday.

Jonathan Turley, a George Washington University professor and prolific blogger, points to a developing split among San Francisco open borders advocates as a result of the program to register illegal aliens to vote in local elections.

Related: Error Results in Improperly Registered Voters in California

“The measure has created an interesting split among advocates as some have warned the city could be giving ICE a ready-made list for roundups of deportations,” Turley wrote Sunday. “Since July, the city has been trying to get undocumented migrants on to the vote rolls for school board elections in the November 6 election.”

The prospect of Immigration and Customs Enforcement’s (ICE) having a ready-made list of names and addresses of illegals living in San Francisco prompted San Francisco Supervisor Sandra Fewer to propose spending another $500,000 — to warn undocumented people registering to vote that doing so could put them in jeopardy of a visit from federal agents.

The San Francisco Chronicle asked ICE if having the voter registration lists available would result in raids.

Who do you think would win the Presidency?

By completing the poll, you agree to receive emails from LifeZette, occasional offers from our partners and that you've read and agree to our privacy policy and legal statement.

“The agency sent us to the U.S. attorney’s office in San Francisco, where spokesman Abraham Simmons said, ‘No comment,'” the paper reported.

The San Francisco experience with registering illegals to vote could soon be a headache for two former mayors of the city by the bay.

California Lt. Gov. Gavin Newsom (D, pictured above left) is heavily favored to be the state’s next governor, while Sen. Dianne Feinstein (D-Calif., above right) is seeking re-election to another term in the Senate.

Newsom favors providing universal, tax-funded health care for illegals. Two thirds of the costs of California’s Medicaid program, which would be the vehicle for such a program, is paid for by federal taxpayers.

Feinstein, if she wins re-election, will have to vote on significantly bigger appropriations for Medicaid if Newsom gets his way.

Getting to vote and receiving free health care could be powerful new magnets that draw even more illegals to the estimated 49,000 already living in San Francisco.