How did the colony form a military garrison in the 19th century?