While Thomas Crapper's name, the inventor who patented many improvements to the toilet in the 1800s, is believed to be the inspiration behind (pun intended) the vulgar slang ''to take a crap," it is urban legend.
The verb first appears in Middle English, at least 400 years before Crapper started doing his business.