The experiment lasted only until Ahkenaten's death when almost all records relating to the King were destroyed.
( ( The experiment ) ( ( ( ( lasted only ) ( until ( ( Ahkenaten 's ) death ) ) ) ( when ( ( ( ( almost all ) records ) ( relating ( to ( the King ) ) ) ) ( were destroyed ) ) ) ) . ) )
(ROOT (S (NP (DT The) (NN experiment)) (VP (VBD lasted) (ADVP (RB only)) (PP (IN until) (NP (NP (NNP Ahkenaten) (POS 's)) (NN death))) (SBAR (WHADVP (WRB when)) (S (NP (NP (QP (RB almost) (DT all)) (NNS records)) (VP (VBG relating) (PP (TO to) (NP (DT the) (NNP King))))) (VP (VBD were) (VP (VBN destroyed)))))) (. .)))
The experiment ended with Ahkenaten's death when he was stabbed.
( ( The experiment ) ( ( ( ended ( with ( ( Ahkenaten 's ) death ) ) ) ( when ( he ( was stabbed ) ) ) ) . ) )
(ROOT (S (NP (DT The) (NN experiment)) (VP (VBD ended) (PP (IN with) (NP (NP (NNP Ahkenaten) (POS 's)) (NN death))) (SBAR (WHADVP (WRB when)) (S (NP (PRP he)) (VP (VBD was) (VP (VBN stabbed)))))) (. .)))