An Iraqi Defense Ministry official said the attack occurred at a checkpoint in the city , about 130 kilometers north of Baghdad .