HOLLISTER, Calif. -

UPDATE: 8/31/16 4:00 AM: A nearly five hour standoff in Hollister came to an end Wednesday morning.

Officials say suspect Alex Yanez was taken into police custody overnight in the 500 block of Seventh St.

The situation first started yesterday because police had evidence Yanez may have been behind a shooting.

However, when they tried to serve a search warrant he refused to leave, forcing nearby homes to be evacuated for a period of time.

No one was hurt. Yanez was booked in the San Benito County jail on multiple weapons and drug charges.

UPDATE: 8/30/16 10:32 PM: A shooting investigation led to a standoff with SWAT in Hollister Tuesday night.

Police said the suspect, Alex Yanez, has barricaded himself inside a home near the intersection of 7th and West Street.

Several surrounding homes have been evacuated and people are still being asked to avoid the area.

According to police, it all started around 12:30 a.m. when police responded to reports of a shot fired on Seventh Street. A witness told officers a heavyset man was yelling and shooting a firearm into the air. The man then went inside a home on 7th and West Street.

Officers later discovered that an elderly woman and her 56-year-old nephew live in the home. Attempts to contact them were unsuccessful.

Officers obtained a search warrant and later learned Yanez was living there and is armed inside the house.

Yanez was recently seen with a gun and had been allegedly making threats to shoot people. He is a convicted felon and is not allowed to have firearms.

SWAT showed up at the house around 8:00 p.m. Tuesday to execute a search warrant.

Yanez was seen outside his front door shortly before SWAT arrived, but he has not responded to demands to leave the house.

Nearby residents who haven't been asked to leave their homes are still being asked to shelter in place.

PREVIOUS STORY:

A SWAT operation is underway at Dunne Park in Hollister.

According to police, officers and the SWAT team are serving a search warrant.

Residents in the area are being asked to shelter in place. Motorists and pedestrians are also being asked to avoid the area right now.

This story will be updated.