What was John Wilkes Booth punishment?

He was shot and killed by the authorities about 12 days (April 26, 1865) after the assassination of Abraham Lincoln.