Michigan was annexed the UP after the Battle of Toledo. Toledo was disputed territory, Michigan claimed it as theirs. Ohio was a state at the time, Michigan was only a territory. So Ohio prevailed. Ohio annexed Toledo, notice how the southern border of Michigan has a zigzag. Michigan was annexed the UP as compensation.