Complex sentence: The song also says that Billy the Kid was captured and hanged, with many people attending the hanging while in reality, he was shot and killed by Pat Garrett.
Split into simpler sentences: The song also says that Billy the Kid was captured and hanged, with many people attending the hanging. In reality, however, he was shot and killed by Pat Garrett.