SACRAMENTO, Calif. — A Sacramento man is behind bars after a tense standoff with police at a home near Del Paso Heights, early Monday morning.

Officers arrested 35-year-old Tobit Barajas just around 5 a.m., more than five hours after he holed up in a home in the 1000 block of Grand Avenue. Five other people were inside of the home during the standoff, including three children, ages 12, 11 and 3, police said.

READ ALSO: Grandma to burglar: 'You come any further and you're a dead SOB.'

According to police, the incident started just after midnight, when Barajas got into an altercation with a taxi driver. Police said that Barajas was being dropped off at the home when he got into some kind of argument with the driver. After the argument, police said Barajas went into the home, grabbed a gun, and came out firing at the taxi. The taxi driver fled on foot and was not injured during the shooting, according to the report.

Officers quickly responded to the scene and ordered Barajas to surrender. He refused, but two family members inside the home got out and told police that there were still three kids in the home.

After learning about the children, several other law enforcement units were called out, including the SWAT team, crisis negotiators and explosives experts.

Eventually, after numerous announcements on the loud speaker, police said the children were safely allowed out of the home. Then, just after 5 a.m., Barajas surrendered without further incident. He was booked into the Sacramento County Main Jail on a complaint of assault with a firearm.

This case remains under investigation.

________________________________________________________________

WATCH ALSO: Three hostages, gunman dead after hours-long standoff at vet home in Yountville