I am well aware of the French revolution and its causes, thank you. As I said, Guillotin did not invent the machine. He did not like death penalty, but if it had to be done, he would rather have had it done by a machine than by axe or sword (for the nobility) which occasionally did not kill in one hit, or by hanging (for the ordinary populace).
The actual inventor of the guillotine is one Antoine Louis [1].