Los Angeles voters elected Councilman Eric Garcetti as mayor of the second-largest U.S. city, replacing Antonio Villaraigosa and inheriting a budget that relies on city unions to forgo 5.5 percent raises next year and uses about three-quarters of a reserve fund.

Garcetti defeated City Controller Wendy Greuel, 54 percent to 46 percent, according to results posted on the Los Angeles City Clerk’s website early today.