The official spoke on condition of anonymity for lack of authorization to release the information.
The attacks come amid fierce clashes between Shiite militia fighters and U.S.-Iraqi forces.
THIS IS A BREAKING NEWS UPDATE. Check back soon for further information. AP's earlier story is below.
BAGHDAD (AP) - The U.S. military says a rocket attack on the U.S.-protected Green Zone has killed two American soldiers and wounded 17 people.
A military official says Sunday's casualties occurred when at least two rockets struck the sprawling area in central Baghdad.
The official spoke on condition of anonymity for lack of authorization to release the information.
The Green Zone has faced frequent attacks amid fierce clashes between Shiite militia fighters and U.S.-Iraqi forces.
Nobody has claimed responsibility for Sunday's attack. But the military has in the past blamed Iranian-backed rogue Shiite militia groups for the attacks.