Complex sentence: The Southern Han sought to bring the Vietnamese back within the Chinese orbit in 939, but even though the Vietnamese were still relatively unorganized politically, the invasion was unsuccessful and was repelled.
Split into simpler sentences: The Southern Han sought to bring the Vietnamese back within the Chinese orbit. Even though the Vietnamese were still relatively unorganized politically, the invasion was unsuccessful and was repelled.