 In 1988, the "War Measures Act" was replaced by the "Emergencies Act".During the colonial era, martial law was proclaimed and applied in the territory of the Province of Quebec during the invasion of Canada by the Continental Army during the American Revolutionary War in 1775–1776.It was also applied twice in the Province of Lower Canada during the 1837–1838 insurrections.