GUATEMALA CITY — Guatemala President Bernardo Arévalo declared a 30-day state of siege Sunday after suspected gang members in Guatemala’s capital killed seven police officers in apparent retaliation for authorities in the country’s southwest retaking control of one of three maximum security prisons where inmates had rioted and taken hostages the day before. The attacks on police in and around Guatemala City came after hundreds of anti-riot police stormed Renovación prison in Escuintla, about 47 miles (76 kilometers) southwest of the capital, to free nine guards who had been taken hostage there. Jailed gang leaders often order members outside the prison walls to carry out retaliatory attacks. “They rioted in the prisons and took hostages with the intention of making the state accept their demands, which for decades were granted,” Arévalo said on national television Sunday. The attacks that followed the retaking of those prisons Sunday, were “an attempt to terrorize security forces and the population so that the government relents in its head-on fight against the gangs.”