The colonial legislature routinely challenged or disputed the prerogatives of the governor, and this hostility affected most of the governors of Massachusetts up to the American Revolutionary War and the end of British rule.