Whilst the cabinet leaned toward recognition of the Confederacy during the American Civil War, public opinion was split. Confederate foreign policy planners had hoped that the value of their cotton exports would encourage European powers to intervene in their favour. It was not to be, and the British attitude might have been decisive. Being cut off from cotton did not affect the British economy as much as the Confederates had expected. A considerable supply was available to Great Britain when the American Civil War erupted and she was able to turn to India and Egypt as alternatives when that ran out. In the end, the government decided to remain neutral upon realising that war with the United States would be highly dangerous, for that country provided much of Britain's food supply (especially wheat) and its navy could sink much of the merchant fleet. U.S. ambassador to Britain Charles Francis Adams Sr. succeeded in resolving thorny problems that could have driven the two powers into war. But once it was clear that the United States had the upper hand on the battlefield, the possibility of an Anglo-American war vanished. diary entries suggest the Queen had contemplated the possibility of a union of her North American colonies as early as February 1865. She wrote, "...we must struggle for it, and far the best it would be to let it go as an Independent Kingdom, under an English Prince!" She also mentioned how her late husband Prince Albert had hoped that one day, their sons would rule over the British colonies. In February 1867, the Queen received a copy of the British North America Act (also known as the Constitution Act 1867). A fortnight later she hosted delegates coming to discuss the question of confederation "under the name of Canada," including the future Prime Minister John A. Macdonald. On 29 March 1867, the Queen granted royal ascent to the Act, which was to become effective on 1 July 1867, allowing the delegates time to return home for celebrations.