 In 1919, Mayr directed Hitler to write the Gemlich letter, in which Hitler first expressed his anti-semitic views in writing.Mayr later became Hitler's opponent, and wrote in his memoirs that General Erich Ludendorff had personally ordered him to have Hitler join the German Workers' Party (DAP) and build it up.As far as it is known, his last rank was major.