DALY CITY — A Hells Angel biker is accused of firing two shots into a Daly City house — narrowly missing two young children — that he mistakenly believed was home to a rival gang member, prosecutors said.

Dionicio Rafael Lopez, 24, pleaded not guilty Monday in San Mateo County Superior Court to gang, gun and assault charges in the July 24, 2011, attack, District Attorney Steve Wagstaffe said.

Lopez, who was indicted by a county grand jury Thursday, allegedly thought a member of the rival gang Wanted was in the home, but was wrong.

When he fired twice into the house he nearly hit two children, 6 and 9, who were watching TV. One of the shots hit the TV in front of the kids, ricocheting before lodging in a wall.

Police say they arrested the shooter in a nearby home that is associated with the Hells Angels. Investigators also said they found the gun and used forensics to tie it to the crime.

In a video clip recorded by a student, a psychology instructor at Orange Coast College told her class that the election of Donald Trump was “an act of terrorism” – prompting an official complaint from the school’s Republican Club.