"heard what Gaal son of Ebed said"
"he became very angry"
Here "city" represents the people of the city.