Aswan became a backwater following the decline of the Egyptian Empire, far removed from power bases at Alexandria and Cairo.
( Aswan ( ( ( ( became ( ( a backwater ) ( following ( ( the decline ) ( of ( ( ( the ( Egyptian Empire ) ) , ) ( far removed ) ) ) ) ) ) ) ( from ( power bases ) ) ) ( at ( ( Alexandria and ) Cairo ) ) ) . ) )
(ROOT (S (NP (NNP Aswan)) (VP (VBD became) (NP (NP (DT a) (NN backwater)) (PP (VBG following) (NP (NP (DT the) (NN decline)) (PP (IN of) (NP (NP (DT the) (JJ Egyptian) (NN Empire)) (, ,) (ADJP (RB far) (VBN removed))))))) (PP (IN from) (NP (NN power) (NNS bases))) (PP (IN at) (NP (NNP Alexandria) (CC and) (NNP Cairo)))) (. .)))
Aswan was out of favor with Egyptians until a dam was built.  
( Aswan ( ( ( ( was ( out ( of favor ) ) ) ( with Egyptians ) ) ( until ( ( a dam ) ( was built ) ) ) ) . ) )
(ROOT (S (NP (NNP Aswan)) (VP (VBD was) (ADVP (IN out) (PP (IN of) (NP (NN favor)))) (PP (IN with) (NP (NNP Egyptians))) (SBAR (IN until) (S (NP (DT a) (NN dam)) (VP (VBD was) (VP (VBN built)))))) (. .)))