Formulate an answer to this elaborate question: What did John T. Thompson invent and lend his name to, a notorious feature of the Prohibition era that earned nicknames including the "Chicago Typewriter" and "Trench Sweeper"?
Answer:
Thompson submachine gun