OREGON HOUSE, Calif. (AP) — A Northern California sheriff’s deputy ran into a house to pull two wounded colleagues to safety after a shootout with a suspect at a Rastafarian church’s marijuana farm.

The two deputies were expected to survive after the third, a 22-year veteran, put in an officers-down call and by himself entered the house in which the gunman had fled, Yuba County Sheriff Steve Durfor said.

Officers search for a suspect after a shooting in Dobbins, Calif., Tuesday, Aug. 1, 2017. Two California sheriff’s deputies were shot and wounded after they responded to reports of an armed and agitated man pulling up plants in the garden of a rural Rastafarian church, authorities said. (AP Photo/Sophia Bollag)

The deputy did not see the suspect or hear any gunfire while rescuing the two officers Tuesday, and later when a SWAT team members entered the house he was found dead. It is likely the suspect died from the deputies’ return gunfire, Durfor said, but it’s possible his wounds were self-inflicted.

The suspect had been working for about a month at the farm of Sugarleaf Rastafarian Church, which holds marijuana sacred and grows it on the farm about 55 miles north of Sacramento. The church’s leader, Heidi Lepp, said she received a call from church members who worked on the farm saying the man, who she knew only as “Sawyer,” was ripping up plants and wielding a gun. She told the workers to leave and called authorities.

When the deputies arrived, the man fled about 100 yards up a hill toward homes on the property.

A woman gave the deputies permission to enter her home, and the man fired on two deputies when they entered. The deputies returned fire.

The third deputy, who had taken up a position at the backdoor, then ran inside to get his colleagues.

The sheriff said the deputies, department veterans of 14 and 10 years, respectively, were airlifted to a hospital and arrived “conscious, talkative and stable.”

Heidi and Charles Edward Lepp sit in their Sacramento, Calif., home Tuesday, Aug. 1, 2017, discussing a shooting at the cannabis farm affiliated with their Rastafarian church in Dobbins, Calif., earlier in the day. Heidi Lepp received a call Tuesday morning that a worker at the Northern California farm was pulling up plants and was armed, prompting her to call the Yuba County Sheriff’s Department. (AP Photo/Kathleen Ronayne)

Both were in serious condition, but each was expected to recover after undergoing surgery.

The property is owned by a branch of Lepp’s church, she said. It does not have a permit to grow medicinal marijuana in Yuba County.

But Joseph Tully, her attorney, said they have a good relationship with law enforcement.

“They had no problem calling the authorities, because they were having a problem there,” Tully told the Sacramento Bee. “They have a very open-door relationship.”