(S (S (S (BASENP (PRP It)) (VP (VBD ended))) (SBAR (WHADVP (WRB when)) (S (BASENP (NNS commandos)) (VP (ADVP (RB finally)) (VP (VP (VP (VBD caught) (PRT (RP up))) (PP (IN with) (NP (BASENP (DT a) (JJ lone) (NN gunman)) (PRN (COMMA ,) (SBAR (WHNP (WP who)) (S (VP (VBD had) (VP (VP (VBN played) (BASENP (DT a) (JJ cat-and-mouse) (NN game))) (PP (IN in) (BASENP (DT the) (NNP Taj) (NNP Mahal) (NNP Palace) (CC &) (NNP Tower))))))) (COMMA ,))))) (NP (BASENP (QP (RB nearly) (NN 56)) (NNS hours)) (SBAR (IN after) (S (BASENP (DT the) (NNS attacks)) (VP (VBZ began)))))))))) (PERIOD .))