Complex sentence: In 1278, Wen was captured by the invading Yuan armies of Kublai Khan, "offered" a Yuan post, and ordered to convince the remaining Song forces to surrender.
Split into simpler sentences: In 1278, Wen was captured by the invading Yuan armies of Kublai Khan. He was offered a Yuan post and ordered to convince the remaining Song forces to surrender.