Similar resolutions of condemnation were passed following the Madrid train bombings in 2004 , and the September 11 , 2001 attacks in the United States .