A suspect who was holding a juvenile hostage with a knife in California was shot and killed by law enforcement Friday morning, authorities said.

Merced County sheriff's deputies were called to an apartment complex in the city of Dos Palos around 11:45 a.m. following a report of a physical domestic incident, the sheriff's office said in a Facebook post.

The suspect tried to set fire to the complex in Dos Palos, about 50 miles southeast of downtown San Francisco, authorities said

PAKISTAN'S SPECIAL FORCES RAID POLICE CENTER TO FREE HOSTAGES, KILL 33 PAKISTANI TALIBAN MILITANTS

Crime in Dos Palos, California

Police killed a suspect who held a minor hostage with a knife in Dos Palos, California. (Fox News)

CLICK HERE TO GET THE FOX NEWS APP

When deputies arrived, the suspect was armed with a knife while "holding a juvenile hostage inside the residence," the sheriff’s office said.

At least one deputy opened fire, killing the suspect.

Few details were available Friday, including the suspect's identity and relationship to the hostage and how many deputies fired their weapons.