An Indio police officer wounded a domestic violence suspect armed with a rifle who threatened to kill family members and police early Tuesday, a department spokesman said.

The shooting, which was the third involving officers this month, happened just after 5:30 a.m. at a home in the 81-200 block of Daffodil Court, which is in the southern portion of the city.

The suspect was being treated at Desert Regional Medical Center for a gunshot wound to a shoulder and he's expected to survive, police Chief Mike Washburn said.

The suspect was identified as Rigoberto Ramirez, 44, according to the Riverside County Sheriff's Department. Washburn said he has a history of domestic violence and is known to police.

Ramirez was arrested on suspicion of assault with a deadly weapon on a police officer. He remained at the Riverside County jail in Indio with bail set at $30,000. He was scheduled to appear in court on Thursday.

He was described as the husband and father of the family occupying a home on Daffodil. Someone from inside the home dialed 911 and said the suspect "would kill family and officers when they arrived," Indio police spokesman Ben Guitron said.

He was armed with a rifle when officers arrived, Guitron said. Police tried to subdue him using non-lethal methods, which included 40-millimeter rubber balls. Efforts failed and an officer opened fire.

MORE:Desert Hot Springs police chief placed on administrative leave

MORE:Pedestrian killed Monday night in Palm Desert ID'd as Desert Hot Springs man

The suspect returned to the home before going back outside, where he was detained.

There were no injuries to officers or family members, among whom were the suspect's wife and at least one child. At least two guns were recovered, Guitron said.

Neighbors said several shots were fired, and one person claimed there was gunfire before police arrived.

The shooting was preceded by two others this month and Indio police said each one involved armed suspects.

"Those are unfortunately things where we can't always foresee what the outcomes are, especially when the suspect is armed," Guitron said. "Whether they're going to hurt someone or not, we don't know."

On April 10, an officer fatally shot a robbery suspect an apartment complex in the 81-800 block of Las Palmas Road. Police were investigating a robbery that occurred near Highway 111 and Monroe Street when they were notified the suspect was at the complex.

Then on April 19, officers were involved in a shooting at MiraBella Apartments in Bermuda Dunes.

They were investing an assault when they encountered a suspect at the complex. Police said the suspect, Cameron Kearney, opened fire on officers, who shot back.

No one was hit and Kearney was arrested on suspicion of assault with a deadly weapon on a police officer.

Each shooting involved a different officer, Guitron said.

Desert Sun reporter Colin Atagi covers crime, public safety and road and highway safety. He can be reached at Colin.Atagi@desertsun.com or follow him at @tdscolinatagi.