SAN JOSE (CBS SF) — A teenage boy has been accused of being the mastermind of a brazen daytime home invasion – of his own home.

San Jose Police said 17-year-old Simer Jeet Singh helped three known gang members plan the May 11 break-in at his family’s home in the city’s Evergreen neighborhood.

READ MORE: Video: Howling Atmospheric River Winds Making Golden Gate Bridge Sing

An adult and two other teenagers have also been charged with the robbery which was captured on the Singh family’s home security video system.

All three teens have been charged as adults in the crime.

“The sad thing about this is he’s turning on his own family,” said prosecutor Madeleine Seiff. He was charged Friday with robbery as his family watched in court.

Police said Singh wasn’t there during the robbery, during which terrified family members are seen fleeing to hide in a room as thieves carrying knives ransack the home.

READ MORE: UPDATE: Atmospheric River Crashes Onshore; Flood Warning Issued For Napa, Sonoma Counties

“They actually chased and ran towards these women,” said Seiff. “One of them was able to fight to hold the door shut that had a broken lock.”

The robbers ran off when they heard the women calling police and were later arrested.

Prosecutors said sources told them to look at the homeowner’s son, now accused of allowing the robbers to get inside his home.

“We’re still looking into what motivated him to set this whole thing up and hopefully as we continue to investigate that that answer will reveal itself,” said Seiff.

MORE NEWS: Atmospheric River Whipped Winds Roar Through Bay Area; Toppling Dozens Of Drought-Weakened Trees

Police said Singh knew the suspects from high school.