Last weekend, representatives of 195 countries reached a landmark accord in Paris to lower planet-warming greenhouse gas emissions. On Tuesday, local leaders in San Diego committed to making a city-size dent in the problem.

With a unanimous City Council vote, San Diego, the country’s eighth-largest city, became the largest American municipality to transition to using 100 percent renewable energy, including wind and solar power. In the wake of the Paris accord, environmental groups hailed the move as both substantive and symbolic.

Other big cities, including New York and San Francisco, have said they intend to use more renewable energy, but San Diego is the first of them to make the pledge legally binding. Under the ordinance, it has committed to completing its transition and cutting its greenhouse gas emissions in half by 2035.

The steps to get there may include transferring some control of power management to the city from the local utility. Officials said they would also shift half of the city’s fleet to electric vehicles by 2020 and recycle 98 percent of the methane produced by sewage and water treatment plants.