The Red Ensign bearing some sort of a Canadian emblem was used by Canadians both on land and at sea beginning as early as 1868 (soon after Confederation) on an informal or extra-legal basis. As Prime Minister, Sir John A. Macdonald "constantly made use of it", promoting it throughout Canada "by precept and example." An 1891 memo from the Governor General, Lord Stanley, stated: "the Dominion Government has encouraged by precept and example the use on all public buildings throughout the provinces of the Red Ensign with the Canadian badge on the 'Fly.'" In 1892, it was authorized by Admiralty Warrant for use on ships registered in Canada and this was enshrined in the "Canada Shipping Act" of 1934, yet the flag had no legal status on land (the Royal Union Flag remained the formal national flag of Canada until 1965). Despite its lack of any official status on land, the Red Ensign with Canadian arms was widely used on land, and flew over the Parliament Buildings until 1904 when it was replaced by the Union Flag. Various versions of the Red Ensign continued to be flown on land and the flag featured prominently in patriotic displays and recruiting efforts during the First World War. It can be seen in numerous photographs of Canadian troops, on the prime minister's car, and in victory parades.