The correct response is:
The United States declared their independence from Britain while Canada was granted independence from Britain.
This statement accurately reflects the historical context, as the United States declared its independence in 1776 through the Declaration of Independence, while Canada gradually gained independence through legislative acts and constitutional changes over the next century, culminating in the Statute of Westminster in 1931 and the patriation of its Constitution in 1982.