Maryland’s legislature voted last week to become the 18th state of the United States to abolish capital punishment. The legislation was passed 82-56 on Friday in the House of Delegates, having passed the Senate the previous week 27-20. It now goes to the governor, a strong opponent of capital punishment, who will sign it into law.

The US is the only Western democracy to retain capital punishment. Last year, 77 death sentences were handed down and 43 executions were carried out across nine states. (The BBC really has some problems in the maths department: after telling us Maryland is the 18th state to abolish capital punishment, the story says: “Nearly a third of the 50 states have now renounced executions.”)

It wasn’t supposed to be like this. The Supreme Court halted executions in 1972, and even when in 1976 it opened the door to their resumption, it was expected they would be a rare event (as they are, for example, in India and Japan). Instead, after a slow start, momentum built and by the turn of the century the execution rate was nearing a hundred a year. More than 1300 people have been executed in the US since 1976, some 493 of them in Texas alone.

But the tide now appears to be turning.

Maryland is the sixth state in as many years to embrace abolition, and last year there were fewer death sentences than in any year since 1976, except one. A referendum in California last November only narrowly voted against abolition, 52% to 48%. (California has not executed anyone since 2006, but it has upwards of 700 people on death row.) The change in public opinion is clear. Gallup polls have shown support for the death penalty rising from a low of 42% in the mid-1960s to a high of 80% 30 years later, before falling of to the low 60s now.

Of course, each issue has its own special factors at work. The recent trend against capital punishment, for example, has been fuelled by technical developments, such as the use of DNA evidence, that have exonerated many innocent people — and therefore pushed to the forefront of public opinion the fact that the innocent are often convicted and may be executed. But there also seem to be broader forces at work.

One issue that did not really follow the trend was gay rights. Progress there since the 1970s has been slow, but relatively steady: there was no period during which reforms were wound back. Was there something the gays did differently that other reformers could learn from?