Later, Tom testified against John so as to avoid the electric chair.
( Later ( , ( Tom ( ( ( ( testified ( against John ) ) ( so as ) ) ( to ( avoid ( the ( electric chair ) ) ) ) ) . ) ) ) )
(ROOT (S (ADVP (RB Later)) (, ,) (NP (NNP Tom)) (VP (VBD testified) (PP (IN against) (NP (NNP John))) (ADVP (RB so) (RB as)) (S (VP (TO to) (VP (VB avoid) (NP (DT the) (JJ electric) (NN chair)))))) (. .)))
He was reluctant to do so because he knew John was innocent, but he had no choice if he wanted to live.
( ( ( ( ( He ( was ( reluctant ( to ( do ( so ( because ( he ( knew ( John ( was innocent ) ) ) ) ) ) ) ) ) ) ) , ) but ) ( he ( ( had ( no choice ) ) ( if ( he ( wanted ( to live ) ) ) ) ) ) ) . )
(ROOT (S (S (NP (PRP He)) (VP (VBD was) (ADJP (JJ reluctant) (S (VP (TO to) (VP (VB do) (SBAR (RB so) (IN because) (S (NP (PRP he)) (VP (VBD knew) (SBAR (S (NP (NNP John)) (VP (VBD was) (ADJP (JJ innocent)))))))))))))) (, ,) (CC but) (S (NP (PRP he)) (VP (VBD had) (NP (DT no) (NN choice)) (SBAR (IN if) (S (NP (PRP he)) (VP (VBD wanted) (S (VP (TO to) (VP (VB live))))))))) (. .)))