The stated goal was to prevent future rocket attacks from Gaza.[1] The operation, ahead the planned unilateral withdrawal from Gaza, was preceded by Operation Rainbow (2004) and followed by Operation Days of Penitence.