Complex sentence: The real king Leopold, who has been his antagonist throughout the second part of the novel is mistaken for Barney and killed by one of Prince Peter's henchmen and Barney consents to remain as king of Lutha, married at last to Princess Emma.
Split into simpler sentences: The real king Leopold, who has been his antagonist throughout the second part of the novel is mistaken for Barney and killed by one of Prince Peter's henchmen. Barney then consents to remain as king of Lutha, married at last to Princess Emma.