OAKLAND -- Four members of an East Oakland gang were indicted on federal charges that included attempted murder Thursday, according to the U.S. Attorney.

Purvis Lamar Ellis, Deante Terrance Kincaid, Damien Edward McDaniel and Joseph Pennymon, all Oakland residents, face charges of racketeering conspiracy, attempted murder, assault with a deadly weapon, maiming and discharging of a firearm, U.S. Attorney Melinda Haag said in a statement.

Three of the four men are also charged with a second count of assault with a deadly weapon in aid of racketeering and discharging a firearm.

Each defendant faces a maximum penalty of life in prison.

The men were arrested in late January in connection with the beating and shooting of undercover officer Eric Karsseboom on Jan. 21 and with shooting Officer D'Vour Thurston in the leg on Jan. 25.

The men have been in state custody since their arrest, and will transferred to federal custody.

Follow Katie Nelson at Twitter.com/katienelson210.