Tucson, Arizona (CNN) -- Arizona Gov. Jan Brewer signed emergency legislation Tuesday that bars protests within 300 feet of a funeral and within an hour from its beginning or end.
Earlier in the day, the state legislature passed the measure, which targets a Kansas church whose members announced they plan to picket the funerals of the victims of Saturday's shootings in Tucson.
"Such despicable acts of emotional terrorism will not be tolerated in the State of Arizona," Brewer said in a statement announcing she had signed the bill. "This legislation will assure that the victims of Saturday's tragic shooting in Tucson will be laid to rest in peace with the full dignity and respect that they deserve."
The legislation makes protesting too near a funeral a misdemeanor in the state. It went into effect immediately upon Brewer's signing it.
The action is in direct response to the Westboro Baptist Church's announcement that it will picket the funeral of Christina Green, the 9-year-old who was among six people killed during Saturday's attempted assassination of U.S. Rep. Gabrielle Giffords, D-Arizona.