Protecting the colonists was the reason for which act?