Was John Wilkes Boothe executed or killed by arresting authorities?

For some reason, I thought he was captured and later hung for the assassination of President Lincoln, but someone else told me he was killed in a shootout with the authorities attempting to arrest him. Which is it?
19 answers 19