Complex sentence: Once the duo figure out the culprit is at the imperial castle, they engage Jillius in a fight and manage to defeat him, only afterwards it is revealed that Jillius' minister, Bagoo, was behind everything.
Split into simpler sentences: Once the duo figure out the culprit is at the imperial castle, they engage Jillius in a fight and manage to defeat him. Only afterwards it is revealed that Jillius' minister, Bagoo, was behind everything.