Bail has been set at $1,000,000 for a 35-year-old man who struggled with a Yakima Police officer Sunday.

It was during a struggle in which both the officer and suspect were injured when the suspect's gun fired.

Yakima Police Capt. Rod Light says the officer was lucky he wasn't more seriously injured or killed in the shooting on South 7th Street. Light says the unnamed officer was trying to contact Antonio Cardenas who was suspected of firing a shot in the neighborhood.

Cardenas was eventually tackled by the officer and the two struggled on the ground. Light says then the officer “heard what he thought was a gunshot and he felt some pain in his left knee.”

The officer and the suspect were both treated for minor injuries. Light says the officer was lucky he only received a minor wound.

The suspect is facing an attempted murder charge along with a charge of felon in possession of a firearm. He's being held in the Yakima County Jail.