William P. Frye served as President pro tempore from 1896 to 1911 (54th-62nd Congress, a tenure longer than anyone else.
In January 1945, the 79th Congress, elected Kenneth McKellar, who at the time was the Senator with the longest continuous service, to be President pro tempore.