The guillotine became the preferred method of execution during the French Revolution as it was believed at the time to actually be the most humane method of capital punishment because it was fast and over quick.
But as time went on, more evidence accumulated that the death was not as quick as previously thought.