a Democrat, was elected to the combined position of City and County Attorney, defeating California's sitting Attorney General, W. F. Fitzgerald, by 832 votes in a year that otherwise saw most offices across the state fall to the Republicans. He was re-elected in 1899 and 1901. Lane ran for Governor of California in 1902 on the Democratic and Non-Partisan tickets. At a time when California was dominated by the Republican Party, he lost by less than a percentage point to George Pardee. (Theodore Roosevelt won the state by 35 points two years later.) Between 8,000 and 10,000 votes were disqualified on various technicalities, possibly costing him the election. During the campaign, the influential San Francisco Examiner slanted its news coverage against him. Examiner owner William Randolph Hearst later denied responsibility for this policy, and stated that if Lane ever needed anything, he should send Hearst a telegram. Lane retorted that if Hearst received a telegram purportedly signed by Lane, asking him to do anything, he could be sure it was a forgery. Journalist Grant Wallace wrote of Lane at the time of the gubernatorial campaign: At the time, the state legislatures still elected United States Senators, and in 1903, Lane received the vote of the state legislature's Democratic minority in the Senate election. However, the majority Republicans backed incumbent George Clement Perkins, who was duly re-elected. Later that year, City Attorney Lane ran for mayor of San Francisco, but again was defeated, finishing third in the race. He returned to the private practice of law, and would not again stand for elective office. Even before the mayoral election, there was support for Lane as a potential Democratic candidate for vice president, though since he was born in what was by then a Canadian province he was ineligible under the Twelfth Amendment to the United States Constitution. In an era when political convention delegates were far more free to make their own choices than they are today, Lane wrote that he had heard that he could gain the support of the New York delegation, which he declined to do. While returning to California from a trip to Washington, D.C., as an advocate for the Hetch Hetchy Reservoir project, he stopped in Austin, Texas, to confer with Democratic leaders and address the legislature. The New York Times saw this as part of a campaign to secure the vice-presidential nomination, and stated that