Democracy is in peril around the world.