In 1919, Flynn was named director of the Bureau of Investigation.
Attorney General Palmer praised his new appointee as "the leading, organizing detective of America...Flynn is an anarchist chaser...the greatest anarchist expert in the United States." In one of Flynn's high-profile incidents, one of his operatives who was trailing the German diplomat Dr.
Heinrich Albert on a streetcar, snatched Albert's briefcase, which contained sensitive documents. The papers documented Albert's having spent $27 million to build up a spy network in the United States, using German money to fund dock strikes, attacks on shipping, and bombs planted in munitions plants. After resigning, Flynn "accepted a
sinecure as head of the Federal Railway Administration Police". Flynn also became a scenario writer for the motion picture industry through his acquaintance with the actor
King Baggot who, Dash notes, was considered the greatest film star in the country at that time in 1912. The producers Theodore and Leopold Wharton commissioned him to write story lines for their films, including
The Perils of Pauline, and eventually adapted Flynn's experiences into a 20-part spy thriller titled ''
The Eagle's Eye'' (1918), starring Baggot. Some of these episodes were published in a book with the same name in 1919. He also edited a magazine which bore his name, ''Flynn's Weekly Detective Fiction'', and became the longest-running, most successful journal of its genre. ==Death==