Louisiana, which had previously used the electric chair to perform executions, enacted a law two years ago switching to lethal injection. Mr. Sawyer became the first person executed under that change when he died shortly after midnight.