The security guard, Amin Abdullah, 51, immediately recognized the two youths as a threat and opened fire on them as they ran past him outside the mosque

The complex is home to the Al Rashid school where crowds of young students were seen being evacuated on Monday following reports of the shooting.

A total of five people including two teenaged gunmen have been killed after an active shooter situation at a San Diego mosque drew a massive police presence.