After fatally shooting Pretty Boy Floyd and receiving extensive, intoxicating publicity for his roles in the deaths of both John Dillinger and Floyd, Melvin Purvis capitalized on his growing celebrity and publicly vowed to hunt down Nelson, but was pulled from the case by a jealous J. Edgar Hoover, director of the FBI. Then Hoover set about the task of rewriting the FBIs account of both the Dillinger and Floyd shootings, emphasizing the importance of the FBI in general, rather than focusing in on Purvis. (Young and Young, The Great Depression in America: a cultural encyclopedia, Volume 1, 163)
And here's his epilogue:
Melvin Purviss growing fame as the G-man who killed John Dillinger made J. Edgar Hoover intensely jealous. The Director did everything he could to make Purviss time at the Bureau increasingly uncomfortable. Shortly before the year anniversary of Dillingers death (Dillinger was killed in July 1934), Purvis resigned from the Bureau, denying that he had differences with Hoover and insisting instead that his reasons for departure were personal. When Purvis attempted to open his own detective agency, Hoover went out of his way to ensure that the countrys best known G-man didnt get any cooperation from law enforcement. During World War II, Purvis joined the rival OSS, which ultimately became the CIA. In 1960, after learning that he had inoperable cancer, Purvis committed suicide, shooting himself with the pistol his fellow agents had given him at his retirement party.(Gentry, Curt. J. Edgar Hoover: The Man and the Secrets, 175-6.)