The organization, which endorsed the doctrine of nativism, rose to prominence in both the labor movement and urban politics in the years after 1901, electing its nominee as Mayor of San Francisco in 1901, 1903, 1905, and 1909.During the first decade of the 20th century, employers across America made effective use of judicial injunctions to prohibit trade unions from engaging in strikes to win recognition for themselves and wage-and-hour gains for their members.[4] San Francisco's Democratic mayor, James D. Phelan, who had been elected thanks in large measure to the support of organized labor, sided with the employers in the battle and gave the Chief of Police authorization to smash the strike.[4] The perceived "treachery" of Mayor Phelan caused San Francisco's organized labor movement to rethink its previous strategy of attempting to elect and influence its "friends" in the Democratic and Republican parties.The city's streetcar employees launched a strike to reverse a 1901 wage cut and to win union recognition, an action which snarled San Francisco's internal transportation.[9] Despite some misgivings on the part of Samuel Gompers and other national officials of the American Federation of Labor, the ULP continued its electoral success in 1903, when Eugene Schmitz was renominated for Mayor of San Francisco and won re-election by more than 6,000 votes."[11] Contrary to the best-laid plans of the open shop advocates, McCarthy and the previously resistant Building Trades Council united behind Schmitz and the Union Labor Party in the election of 1905, helping him to win a third term of office.
Members of the first Labor Party ticket in San Francisco, 1901. Front row, middle: E. E. Schmitz.