A gunman and three hostages who were taken prisoner inside the nation's largest veterans home in California were found dead late Friday after an hours-long standoff in which dozens of bullets were fired at police outside, authorities confirmed.

California Highway Patrol chief Chris Childs said the bodies of the gunman and the three women he took hostage were found by officers around 6 p.m. Friday. They were in a room where the gunman had holed up with his hostages; it's unclear when the deaths happened.

The tragic end culminated a tense standoff that began at 10:30 PT and left worried relatives wondering about loved ones.

Police in SWAT gear had locked down the sprawling property at the Veterans Home of California in Yountville, in the heart of Napa Valley's wine country.