This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

A K-9 with the Riverside County Sheriff’s Department was recovering Wednesday after accidentally being  shot by a deputy during the search for a felony suspect.

The shooting happened on Friday around 10 p.m. when Deputy Kari Cranfill and her canine partner, Tessa, were in Lakeland Village, authorities said.

They were walking across a residential yard when a large pit bull jumped out of an open window and attacked Tessa, according to a post on the department’s Facebook page.

Another deputy opened fired on the pit bull, but one of the rounds hit Tessa in the right paw, according to the post.

She was treated for the wound and was fitted with a cast on her leg.

“Tessa spent Saturday night at the veterinarian’s office, but is now home with Deputy Cranfill, no doubt being spoiled,” according to the post.

She was expected to make a full recovery and be back to work soon, the post stated.