GILROY -- A suspect in a Vacaville armed robbery was found holed up in a Motel 6 and taken into custody along with three women after a standoff that started around 11 a.m. Thursday, police said.

According to Gilroy Sgt. Joseph Deras, officers were notified by Vacaville police that a pair of armed and dangerous suspects from a robbery in that city might be at a motel in the area. Detectives found a suspect vehicle at the Motel 6 on Monterey Road in Gilroy.

"We tried to negotiate to get the primary suspect to come out, but he was really reluctant to do that," Deras said.

Several hours later, the 34-year-old man surrendered without incident. Officers also stopped a car containing two women, two toddlers, ages 1 and 2 and a pair of 14-year-olds, police said.

The women were found to be associated with the suspects and detained. The children were released to a relative; one of the women was let go without charges, but the other was found to be in possession of a controlled substance and was arrested, police said.

A police SWAT team went room to room at the hotel looking for a second robbery suspect, described as a Hispanic male in his mid 20s, 6 feet tall and 200 pounds with a close-shaved head. He was not found, and guests were allowed back into their rooms later Thursday evening.

During the search, a third woman connected to the group was found and detained but eventually released, Deras said.

Deras did not know the relationship between the suspects and the women and children at the scene.

Gilroy police were assisted by units from Vacaville, Morgan Hill, the U.S. Marshall's Office and the Santa Clara County Sheriff's Office, Deras said.

Vacaville police could not be immediately reached for information about the robbery in that town.

Deras said the outstanding suspect should be considered armed and dangerous.

Anyone with information about the case is asked to call Gilroy police at 408-846-0350.