Input: Relationship: 'take', Argument/Subject 1: 'hama', Argument/Subject 2: 'gaza'

Answer: Even before Hamas took control of Gaza from the rival Fatah organization , the PA used the grounds of the destroyed Jewish communities as terrorist training bases .