When john Wilkes booth killed Abraham Lincoln how was he punished?

After he killed Lincoln, John Wilkes Booth became the subject of the greatest manhunt in American history. Troops caught up with him not long after the assassination, and he himself was shot and killed in a Virginia tobacco barn.