Definition: In this task, five ordered key facts are given. All the given facts are expressed in natural language. Your job is to generate a story 100 to 1000 words long, that includes all the facts given as input in their order of appearance while expanding upon them to produce a broader, yet coherent, narrative.
Input: Fact1: friend Eddie Buchanan recruit him as federal agent or G Man, Fact2: mob boss financed education to keep Davis on right side of law, Fact3: star of MacKay 's nightclub has feelings for Davis, Fact4: scenes give Cagney 's Davis maturity seen before in roles, Fact5: Davis In is attracted to McCord 's Kay addition

One year after graduation, New York City lawyer James Brick Davis James Cagney has no clients because he refuses to compromise with his ideals and integrity. His friend Eddie Buchanan Regis Toomey tries to recruit him as a federal agent or G Man government man, but Davis is unsure. However, when Buchanan is killed while trying to arrest a gangster, Davis changes his mind, determined to bring the killer to justice. He bids farewell to his mentor, Mac MacKay William Harrigan, a mob boss who financed his education to keep Davis on the right side of the law. He bids farewell to Jean Morgan Ann Dvorak, the star of MacKays nightclub who has feelings for Davis. Davis travels to Washington, D.C. to begin his training. A mutual dislike forms immediately between him and his instructor, Jeff McCord Robert Armstrong which eventually subsides as time passes, but not before McCord openly mocks and derides Davis attempts at training something the Tom Powers Cagney would have never stood for. The scenes give Cagneys Davis a maturity seldom seen before in his roles, while portraying Armstrong as a bully and excessively childish. In addition, Davis is attracted to McCords sister Kay Margaret Lindsay which strengthens his determination to remain passive despite McCords efforts to rile him. Meanwhile, MacKay retires and buys a resort lodge out in the woods of Wisconsin. His men, free of his restraint, embark on a crime spree. Hamstrung by existing laws federal agents have to get local warrants and are not even allowed to carry guns, the head of the GMen pleads for new laws to empower his beleaguered men. They are enacted with great speed. Davis identifies one of the perpetrators, Danny Leggett Edward Pawley, by his superstition of always wearing a gardenia. Not having completed his training, he can only give agent Hugh Farrell Lloyd Nolan tips on Leggetts habits. Farrell tracks down and arrests his quarry, but he and some of his men are gunned down, and Leggett escapes. McCord is put in charge of the manhunt and given his choice of five agents. He picks Davis, a decision that later pays dividends when Jean is brought in for questioning, Davis learns she is now married to Collins Barton MacLane, one of the crooks. She inadvertently lets slip that the gang is hiding out at MacKays lodge against MacKays will. In the ensuing wild shootout, Davis kills MacKay, who was being used as a human shield. Before he dies, MacKay forgives his distraught friend. Davis then tries to resign from the department but McCord talks him out of it by reminding him that McKays death wasnt his fault and asks him to stay on. Only Collins gets away. McCord and Davis go to Jeans apartment to warn her. Jean is not there, but Collins is, and shoots at them. Davis pushes McCord out of the way and takes a bullet meant for him. Collins gets away. Davis ends up in the hospital where Kay is a nurse for his shoulder wound. Collins kidnaps Kay to use as a hostage. Jean finds out where he is hiding and telephones Davis, only to be shot by her husband. Davis bolts from his hospital bed, has some final words for the dying Jean, sneaks inside the garage and rescues Kay. Collins is shot to death by McCord as he tries to drive away. Kay escorts the stillbandaged Davis back to the hospital, vowing to handle your case personally.