John Campbell took office as the first governor of Wyoming Territory in 1869. A Republican appointed by President U.S. Grant, Campbell found the job plagued by partisan conflict with Democrats, an overbearing Union Pacific Railroad and by factionalism within his own party—but he left sturdy political structures behind him.