On July, 1, 1867 The British North America Act came into effect marking the birth of the Dominion of Canada; comprising four provinces: Nova Scotia, New Brunswick, Quebec and Ontario. Ottawa was chosen as the capital and recently knighted Sir John A. Macdonald was the first prime minister.