BRENTWOOD -- A man and woman were hospitalized Thursday morning for dog bites, apparently from a Shar Pei mix and a Labrador retriever wandering the streets near Brentwood Boulevard.

The couple was expected to recover, police said Thursday.

The two dogs got loose from an enclosed back yard in the 4600 block of Nunn Street and began wreaking havoc around 9:40 a.m. when a 52-year-old woman living in the 3000 block of Hudson Drive came to her front deck to retrieve something, Brentwood police Sgt. Mike Misquez said.

At least one of the dogs attacked the woman. The Shar Pei mix then bit a 46-year-old man walking his two smaller dogs on Nunn Street, Misquez said. The Shar Pei mix dog was initially described as a pit bull, but authorities later revised that description.

Both were taken to a hospital in an ambulance with dog bite wounds not considered life threatening. The dogs escaped from the yard when the owners weren't home, Misquez said.

Either one or both dogs bit the woman several times in the face, ankle and hands.

"She doesn't know which dog did the biting," he said.

The man who was attacked had no doubt, Misquez said. He was in front of a home in the 4600 block of Nunn Street -- approximately a four-minute walk from Hudson Avenue -- with his two smaller dogs when the big canines approached. Both dogs went after those dogs, Misquez said, and the Shar Pei mix chomped down more than once on the man's leg when he tried to protect them.

Police and animal control officials were able to catch the dogs and were forced to use a stun gun on the Shar Pei mix, Misquez said. That dog charged at officers when they surrounded him in a back yard on Nunn Sreet, he said.

The Labrador retriever showed no such aggression toward officers, Misquez said.

Both dogs were in custody of Contra Costa County Animal Control, he said. Calls to Animal Control officials were not returned immediately.

Police asked a private preschool located at the corner of Anderson Drive and Walnut Boulevard to keep the children inside during a search for the dogs, but no other schools were affected, Misquez said.

Contact Rick Hurd at 925-945-4789 and follow him at Twitter.com/3rdERH.