JERUSALEM — Ehud Olmert, who resigned as prime minister of Israel in 2008 amid corruption charges, was indicted Thursday and charged with taking bribes in the construction of a huge residential complex while he was the mayor of Jerusalem.

Mr. Olmert, who is already on trial for three unrelated counts of fraud and breach of trust from before his tenure as prime minister, has denied all wrongdoing. In the newest — and by far the most serious — indictment, he is accused of accepting hundreds of thousands of dollars in bribes to smooth the way for construction of the Holyland, an enormous hulk of a residential complex in southwestern Jerusalem.

When the case was first made public nearly two years ago, the presiding judge called it “one of the worst corruption affairs in Israeli history.”