Complex sentence: Jogaila pledged his loyalty to Kęstutis, was released, and received his patrimony, Kreva and Vitebsk.
Split into simpler sentences: Jogaila pledged his loyalty to Kęstutis and was released. He received his patrimony, Kreva and Vitebsk.