Death Penalty

Death penalty is one of the most debated issues in today’s society. China and the United States are among the minority of nations in the world that still use death as penalty for certain crimes. How would Confucianism, Daoism, Legalism, and Buddhism respond to the issue of death penalty?