The signing of the treaty formally ended the Seven Years' War, known as the French and Indian War in the North American theatre, and marked the beginning of an era of British dominance outside Europe. Great Britain and France each returned much of the territory that they had captured during the war, but Great Britain gained much of France's possessions in North America. Additionally, Great Britain agreed to protect Roman Catholicism in the New World. The treaty did not involve Prussia and Austria as they signed a separate agreement, the Treaty of Hubertusburg, five days later.