A suspect in the shooting of a Portland police officer early this morning was taken into custody about 5:30 a.m., according to police.

Several 911 calls from the public were "very critical" in finding the suspect, who fled the initial scene on foot and was found in the 6900 block of Southwest Oleson Road, said Sgt. Pete Simpson, a Portland police spokesman.

The suspect is injured and is being treated at a Portland-area hospital. "We don't know if he is shot," Simpson said. "He is conscious and talking."

The officer, who was assigned to the K9 unit, is being treated for non life-threatening injuries at Legacy Emanuel Medical Center, where Simpson said he is "in good spirits."

The officer's K9, a German shepherd, remains unaccounted for. (Update: The

.) Police believe the dog may have been shot. He was wearing protective gear at the time of the incident.

Police are looking for this dog, who was with the officer who was shot early Wednesday in Southwest Portland.

Police are asking residents who may have seen the dog to contact 911. "We wouldn't want anyone to approach the dog," Simpson said.

A woman who lives with her husband on Southwest Primrose Street near Capitol Highway was startled awake about 3 a.m. by rapid gunfire.

“It sounded close,” she said. “I think I heard more than five shots. First one-two, then some rapid gunfire. It sounded like an automatic.”

About an hour after that, she received alerts via her cell phone, landline and email. A text message said: “Active tactical police incident involving an armed gunman in the neighborhood. Stay inside. Police are actively searching yards on foot.

Another area resident, Jan Thorpe, described being awakened by police sirens and then hearing a crash, followed by gunshots.

Another Southwest Portland resident, David Bell, talked to KGW (8) about his encounter with the suspected gunman.

David Bell said that he first became aware of a problem when he heard his dog barking. He said he went out on his deck and saw a man running slowly through his back yard. Bell said he yelled at the man, but the man didn’t stop so he went looking for him.

Bell said went down his street a short distance and didn’t see anything. He was on his way back to his home when the man walked out of the shadows, carrying what appeared to be an assault rifle.

“He raised it and pointed it at me and said he didn’t want to do it, but would shoot if he had to,” Bell said. At that point, Bell began trying to reason with the man, whom he said appeared to be in his late teens or early 20s.

He told the man he had called police -- which he actually hadn’t yet done -- and after a short time, the suspect lowered his rifle, became apologetic and said that he was confused. Bell said it appeared the man had blood on his face. A short time later, the man ran off and Bell called 911 for the first time.

The incident began when police were called to investigate a suspicious circumstance at Blumenthal, a uniform company, near Southwest 30th and Barbur Boulevard around 2 a.m. Then shortly before 3 a.m. police stopped a vehicle with near Southwest Lobelia Street and Southwest Capitol Highway. Simpson did not provide details of the circumstances surrounding the shooting. The suspect and officer exchanged gunfire. Simpson said police continue to look for the suspect's weapon, believe to be a rifle, possibly an AR-15.

The neighborhood is no longer in lockdown,

will be disrupted through much of the morning.

Police detained several people for questioning in connection with the incident, said Simpson. It's not clear what tie they have to the shooting, but Simpson said no other suspects were outstanding.

Wednesday morning’s shooting marked the second time in five weeks that a Portland Police officer has been shot in the line of duty.

On Wednesday, March 12, Officer John Romero was shot in the hand during an armed confrontation with Kelly Vern Mark Swoboda near Wilson High School.

Swoboda, who was being sought in connection with an attempted kidnapping and other incidents, died of his injuries but Romero, who joined the bureau in 2006, was treated for his wounds and released.

-- Noelle Crombie; twitter: @noellecrombie

-- Lynne Terry