(Reuters) - Los Angeles Mayor Eric Garcetti’s White House hopes could hang on how he quickly he is able to resolve the city’s first teachers’ strike in three decades, which disrupted classes for nearly half a million students for a fourth day on Thursday.

Los Angeles Mayor Eric Garcetti sits at a deli counter and talks with striking teachers in downtown Los Angeles, California, U.S., January 15, 2019. REUTERS/Alex Dobuzinskis

Although the 47-year-old Democrat does not have direct control over the nation’s second-largest school system, he will mediate talks between union and district leaders after days of protests that grabbed nationwide headlines.

The move may help Garcetti, who is considering a presidential run but has not officially declared his intentions, raise his national profile.

Strategists said it also could tie his reputation to the outcome, with a quick deal giving him a boost while drawn-out scenes of the union’s 30,000 teachers, about a third of whom are Latino, on picket lines could harm his standing with key Democratic constituencies.

“Before the strike, I had this in the column of things that would be really hard on his presidential campaign,” said Raphael Sonenshein, the executive director of the Pat Brown Institute for Public Affairs at California State University in Los Angeles. “If he’s able to bring some influence to bear that contributes to a positive resolution, that would potentially be a plus.”

Garcetti is one of more than a dozen Democrats weighing whether to take on the Republican Party’s presumptive 2020 nominee, President Donald Trump. White House aspirants are already scrambling to try to raise their national profiles and secure staff and donors.

In his two terms as mayor and decade before that on the city council, the Spanish-speaking Garcetti focused on environmental and urban planning initiatives, seeking to cut back Los Angeles’ famous dependence on cars.

He frequently employs the hashtag #MayorsGetThingsDone on Twitter, part of his argument that his experience compares favorably with that of lawmakers in often-gridlocked Washington.

But other than leading the city’s bid for the Olympic Games, which resulted in Los Angeles being chosen to host the 2028 Summer Olympics, Garcetti has rarely been in the national spotlight.

‘RIGHTEOUS FIGHT’

Garcetti offered to serve as a mediator in the teacher strike, starting on Thursday, which convinced the two sides to come to the table for the first time since the strike began.

Before assuming the mediator role, Garcetti had carefully walked a line. He supported teachers, whose demands have focused on lowering class sizes and adding support staff such as nurses to schools in addition to a pay raise, while also acknowledging the school board faces financial pressures.

“This is an important and righteous fight about the soul of our schools,” Garcetti told Reuters on Tuesday after chatting with several teachers at a downtown deli. “At the same time, we have to find the resources to do it. You can’t spend money that you don’t have.”

Unlike in some big cities, an independently elected board, not the mayor, runs the Los Angeles Unified School District and is leading the negotiations.

Garcetti recalled his grandmother’s time working as an educator in the 1960s in Milwaukee.

“It’s kind of similar to now: We have a society that is increasingly polarized in terms of wealth,” he said. “Those who depend on public institutions like public schools, if we can’t make them work, we won’t have a strong nation.”

Garcetti has not shown up in the top 10 of likely 2020 Democrats in recent polls. He trails in name recognition compared with U.S. Senator Elizabeth Warren of Massachusetts, who declared her candidacy last month, and former Vice President Joe Biden and U.S. Senator Kamala Harris of California, who have expressed strong interest.

A long strike could only hurt Garcetti’s chances of building a positive national reputation, said Ben Tulchin, a Democratic pollster who has worked for Los Angeles school board candidates and former presidential candidate Bernie Sanders.

“If it drags on, it’s a huge inconvenience for Los Angeles voters,” Tulchin said. “It makes a steep climb even steeper. He’s got a lot of people he’s got to leapfrog.”

(The story corrects in paragraph four proportion of teachers who are Latino to about a third from most.)