CNN  — 

Chicago elected Lori Lightfoot as its first black female mayor in a historic victory applauded beyond the nation’s third-most populous city.

“We may be strangers but in this room, in this city we are all neighbors,” she told a cheering crowd following her win.

Lightfoot faced a historic runoff Tuesday against Toni Preckwinkle, who is also an African-American woman.

“Now that it’s over I know that we will work together for the city that we both love,” Lightfoot said at her campaign celebration. “Today you did more than make history, you created a movement for change.”

Tributes poured in for the mayor-elect following the monumental win.

“Now we’re going to take the next steps together,” she said. “Together we can and will finally put the interests of our people, all of our people, against the interests of a powerful few.”

Her competitor vowed to keep working on issues important to her.

“This may not be the outcome we wanted but while I may be disappointed, I’m not disheartened,” Preckwinkle told supporters after she called Lightfoot to congratulate her.

Mayor Rahm Emanuel did not run because he’s not seeking a third term. The general election in February had 14 candidates, with Lightfoot and Preckwinkle as the top two vote-getters.

Lightfoot, 56, a former assistant US attorney, describes herself as “an out and proud black lesbian.” When she is sworn in, she will be the first mayor in the Windy City who identifies as a lesbian.

“Out there tonight a lot of little girls and boys are watching. They’re watching us. And they’re seeing the beginning of something, well, a little bit different,” Lightfoot told the crowd on Tuesday with a wry smile.

“They’re seeing a city reborn. A city where it doesn’t matter what color you are,” she continued. “Where it doesn’t matter who you love, just as long as you love with all your heart.”

In the wake of the Laquan McDonald scandal – in which a white police officer, Jason Van Dyke, shot the black teenager 16 times as he walked away from police – Lightfoot was appointed by Emanuel to head the newly created police accountability task force.

Preckwinkle, 72, is a political insider who heads the Cook County Board and chairs the Cook County Democratic Party. She made education and a $15 minimum wage focal points of her campaign.

A Chicago Tribune report in January claimed that Preckwinkle hired the son of a powerful old-school alderman, Ed Burke, to a $100,000 a year job with the county. Burke was recently charged with attempted extortion after the FBI raided his offices in January.

In February’s general election which had 14 candidates, Lightfoot and Preckwinkle were the top two vote-getters, which led to Tuesday’s runoff.

No matter who wins Tuesday’s election in Chicago, the nation’s third-largest city will for the first time elect an African-American woman as its mayor.

“A new mayor with a plan for police reform and better police-community relations will enhance the quality of life in the city and encourage people – especially young people who wish to start a family – to move to the city,” said Arthur Lurigio, a professor of psychology and criminal justice at Loyola University Chicago. “The perceptions that a new mayor creates about safety and policing could make the city a more attractive place to live and stop the outflow of residents.”

Violent crime totals in Chicago have made headlines in recent years. In 2016, the city reported its highest number of homicides in two decades: 762.

But killings have dropped since then: 650 in 2017 and 550 in 2018.

The Windy City could also have its first openly gay mayor.

CNN’s Madeline Holcombe and Ray Sanchez contributed to this report.