The history of the Soviet Union from 1982 through 1991 spans the period from Leonid Brezhnev's death and funeral until the dissolution of the Soviet Union. Due to the years of Soviet military buildup at the expense of domestic development, and complex systemic problems in the command economy, Soviet output stagnated. Failed attempts at reform, a standstill economy, and the success of the proxies of the United States against the Soviet Union's forces in the war in Afghanistan led to a general feeling of discontent, especially in the Baltic republics and Eastern Europe.