City Councilman Eric Garcetti has won the Los Angeles mayor's race, becoming the first Jewish elected mayor in the city's history.

Garcetti defeated City Controller Wendy Greuel by eight points, 54 percent to 46 percent. Greuel was trying to become the city's first female mayor. The two candidates were competing in a runoff after no candidate won a majority of the vote in March.

Greuel was strongly backed by organized labor, and former president Bill Clinton endorsed her. Garcetti, an early supporter of President Obama, was backed by David Axelrod, Obama's former top adviser. The election was technically nonpartisan, but both Garcetti and Greuel are Democrats.

Garcetti, 42, will also become the youngest Los Angeles mayor in more than a century when he is sworn in July 1. In a tweet early Wednesday morning, Garcetti said the "hard work" begins now.

"Thank you Los Angeles--the hard work begins but I am honored to lead this city for the next four years. Let's make this a great city again," he wrote.