OAKLAND — The Oakland City Attorney’s Office is suing the owners of an East Oakland apartment building that was the site of a homicide last weekend on allegations of inhumane living conditions and rampant crime, the city announced Wednesday.

The lawsuit filed in August in Alameda County Superior Court alleges that the owners and property managers of Hillside Apartments on Hillside Street have allowed the almost 100-unit complex to become a “base of operations” for a violent gang, Alex Katz, spokesman for Oakland City Attorney Barbara Park, said in a news release.

The owners of the building, Grant Alvernaz, of Pleasant Hill, and Douglas Moore, of Walnut Creek, pleaded guilty in federal court earlier this year for conspiring to rig bids at public real estate foreclosure auctions.

Katz said that when the men purchased the apartments in a foreclosure auction in 2010, they entered into a settlement agreement with the city in which they promised to fix the safety and blight problems that have long plagued the complex.

The lawsuit seeks to extend the settlement agreement with the owners to abate public nuisances on the property, as well as monetary damages, Katz said.