An 11-hour standoff with a SWAT team in a Long Beach neighborhood ended Sunday afternoon with the arrest of a man sought in connection with armed robberies at three San Gabriel Valley restaurants the day before, authorities said.

The standoff began about 4 a.m. on Mountain View Street just west of Long Beach Boulevard, according to Los Angeles County sheriff’s officials.

Surrounding homes were evacuated, a special weapons team took command and a crisis negotiation team was called out “to help bring the situation to a peaceful resolution,” Deputy Guillermina Saldana of the Sheriff’s Information Bureau said in a written statement.

The suspect was taken into custody by a SWAT “entry team” shortly after 3 p.m., sheriff’s officials announced via social media. No further details were released.

Investigators withheld the suspect’s name Sunday night pending further investigation, Sgt. Henry Saenz said.

The suspect is believed to be responsible for two hold-ups in a 20-minute span Saturday afternoon in Hacienda Heights and Industry, then another a few hours later in Diamond Bar, authorities said.

The first was a failed robbery at a Hacienda Heights Denny’s about 12:30 p.m., Sgt. David Cortinas said. The second was a successful robbery at a Jack in the Box less than 2 miles away in Industry. Both businesses sit along the 60 Freeway.

In both incidents, the robber brandished a handgun while demanding cash, then sped off in a gray 2009 Chevrolet Impala, Lt. Chris Garcia said.

In the third robbery, about 6:30 p.m Saturday a man entered the Wienerschnitzel hot dog restaurant at 23300 Sunset Crossing Road, near the 60-57 Freeway interchange, brandished a silver or gray handgun and demanded cash before fleeing, Lt. David Buckner said. No getaway car was seen. No injuries were reported.

The robber in all three crimes was described as a Latino man in his 30s, 5-foot-2 to 5-foot-3, about 140-150 pounds, wearing a black hooded sweatshirt. The same man is believed to be behind all three crimes, according to Capt. Tim Murakami.

Authorities urged anyone with information to contact the sheriff’s Industry Station at 626-330-3322, or the sheriff’s Walnut-Diamond Bar Station at 626-913-1715. Tips may also be submitted anonymously to L.A. Regional Crime Stoppers at 800-222-8477.