 Both groups were formed as offshoots of the Muslim Brotherhood, are members of the Alliance of Palestinian Forces and receive a large amount of funding from Iran.With similar goals, Hamas and PIJ have worked together on a number of projects.PIJ was formally established in Gaza in 1981 by two Palestinian activists