Complex sentence: The emperor also agreed to hand over his son and heir, John, as a hostage, who was entrusted to Baldwin's care.
Split into simpler sentences: The emperor also agreed to hand over his son and heir, John, as a hostage. John was entrusted to Baldwin's care.