Prior to 1947, Canadian law continued to refer to Canadian nationals as British subjects, despite the country being since 1931 independent from the United Kingdom. As the country shared the same person as its sovereign with the other countries of the Commonwealth, people immigrating from those states were not required to recite any oath upon immigration to Canada; those coming from a non-Commonwealth country would take the Oath of Allegiance. When India became a republic in 1950, however, the Commonwealth contained countries that did not recognize the monarch shared amongst the Commonwealth realms as their own, though still regarding that individual as Head of the Commonwealth.