Police combed the floors of a retirement home in Santa Clara after an employee reported seeing a man with a gun.
The search was called of just before 11 a.m. with nothing suspicious found.
Guy Cox, manager at the Westmont retirement community at 1675 Scott Blvd., said a stranger came up to a female employee around 9 a.m. and told her to "stay away," and not to follow him.
The employee said she saw a gun tucked into his pants, Cox said.
Police searched all four floor of the independent living center. They were also seen on the roof of the facility.
About a quarter of the residents were taken outside the building while police conduct the search. The rest, Cox said, "are scared and in their rooms." He said the average age of the residents is 85.
The search was not related to an earlier search for an armed man. That search locked down a Santa Clara neighborhood near Lawrence Expressway.
Officers were dispatched to an area near Santa Rosa Court after police received a call about a domestic disturbance at 4:40 a.m., Santa Clara police Lt. Wahid Kazem and a dispatcher said.
Police believed the man was armed and dangerous, and established a quarter-mile perimeter around the neighborhood. Residents were told to shelter in place.
A dispatcher said around 9:30 a.m. that the man had been taken into custody. Kazem said the suspect is on parole for a violent crime.