Islamic militants threw explosives at the gate of the heavily-guarded US consulate in Jeddah in a bold assault, then forced their way into the building, prompting a gun battle that left seven people dead and several injured before the three-hour long crisis was brought under control.