What year did Canada become a country?

What year did Canada become a country?