Complex sentence: Liang was arrested and taken as a Japanese prisoner of war in 1944, enduring almost two years of torture before being released upon Japanese surrender in 1945.
Split into simpler sentences: Liang was arrested and taken as a Japanese prisoner of war in 1944. He was released upon Japanese surrender in 1945.