Decapitation is a quick and fairly painless way to go, so it was once considered suitable only for nobles like Sir Walter Raleigh, Mary Queen of Scots, and two of Henry VIII's unfortunate wives. The invention of the guillotine in the 18th century was meant to make execution swifter and more painless than hanging or a badly aimed blow by the executioner's sword.