Eventually , in 1805 , the Michigan Territory was formed , which lasted until it was admitted into the Union on January 26 , 1837 , as the 26th state .
It was the 26th state to join the union on January 26 , 1837 .