In 1686 King James II established the Dominion of New England as a new colonial entity to govern all of New England. He appointed Massachusetts native Joseph Dudley as its first governor; he was replaced later that year by Sir Edmund Andros. Both Dudley and Andros excluded Danforth from their councils, given his opposition to crown authority. The dominion reign, which did not include an elected assembly, was extremely unpopular in Massachusetts for a variety of reasons. When the Glorious Revolution deposed James, Massachusetts Puritan leaders orchestrated an uprising and arrested Andros, Dudley, and other dominion officials. In the period between the dominion's collapse and the establishment of the Province of Massachusetts Bay in 1692, the old colonial government was temporarily reestablished, and Danforth resumed his offices.