answer: The first state capitol was located in Detroit , the original capital of Michigan, and was relocated to Lansing in 1847, due to the need to develop the western portions of the state and for easy defense from British troops stationed in Windsor, Ontario .