The first person in line to die under New York's new electrocution law was Joseph Chapleau, convicted for beating his neighbor to death with a sled stake, but his sentence was commuted to life imprisonment. The next person scheduled to be executed was William Kemmler, convicted of murdering his wife with a hatchet. An appeal on Kemmler's behalf was made to the New York Court of Appeals on the grounds that use of electricity as a means of execution constituted a "cruel and unusual punishment" and was thus contrary to the constitutions of the United States and the state of New York. On December 30, 1889, the writ of "habeas corpus" sworn out on Kemmler's behalf was denied by the court, with Judge Dwight writing in a lengthy ruling: