An armed man who barricaded himself inside a mini-mart in Modesto was taken in custody Monday, according to the Modesto Police Department.

The incident began at approximately 4 p.m. near the corner of Maze Boulevard and Martin Luther King Drive.

During the standoff, SWAT was activated and several streets around the area were closed.

The suspect was eventually taken into custody at approximately 5:45 p.m.