An 80-year-old man opened fire in the lobby of a senior living facility in downtown Vancouver, Wash., on Thursday, killing one man, injuring two women and shutting himself in his apartment for more than two hours before he was taken into custody, the authorities said.

The shooting occurred just after 2 p.m. local time at the Smith Tower Apartments, the authorities said. The gunman, who was identified as Robert E. Breck, lived in the building and went up to his apartment after the shooting and refused to come out, the authorities said.

The police negotiated with Mr. Breck by telephone until he was taken into custody around 4:45 p.m. local time. Mr. Breck was booked into Clark County Jail on one count of murder and two counts of attempted murder.

It was not immediately clear if Mr. Breck had a lawyer.

The authorities declined to comment on a possible motive. The victim who was killed has not been named.