In 1867, shortly after the U.S. Civil War ended, the provinces of what is now Canada were threatened by Union aggression in North Atlantic waters, as well as the United States' renewed faith in its manifest destiny to span the entire continent. As a result, the British North American provinces collectively sought permission from the British Empire to form a Confederation, which provided virtual sovereignty and rights to defend its territories in North America from the expansion of the United States.