Giulio Andreotti, a seven-time prime minister of Italy with a résumé of signal accomplishments and checkered failings that reads like a history of the republic, died on Monday. He was 94 and lived in Rome.

His death was announced by President Giorgio Napolitano.

Mr. Andreotti had been at the center of Italy’s postwar political order until its collapse in 1992, emerging at the close of World War II as a close aide to Alcide De Gasperi, a founding father of the Italian republic who had practically reinvented the Christian Democratic Party after it had been wiped out by Fascism.

The party became Italy’s dominant one, furnishing all but three postwar prime ministers and governing — though at times barely so — through unruly coalitions or with the acquiescence of other parties.

Mr. Andreotti’s long career epitomized many of the country’s contradictions. He held one important position or another — his portfolios included finance, treasury, defense and industry — as Italy overcame wartime destruction and the threat of Stalinist totalitarianism, coped with staggering social problems and labor discontent, faced down terrorists, and struggled against organized crime.