Is Capital Punishment Biblical?

Is Capital Punishment Biblical?