He served as the first Territorial Governor of Minnesota June 1 , 1849 to May 15 , 1853 as a member of the Whig Party . He served as the first Territorial Governor of Minnesota from June 1 , 1849 to May 15 , 1853 as a member of the Whig Party .