The correct answer is A. World War 1. Although, that was only formally, Canada gained it's self governance much much earlier, back in 1867 when it established its own autonomous government but within the British Empire. Following WW1, everything was formalized and it gained complete independence from Britain.