Five months before the fall of the Berlin Wall and Czechoslovakia’s Velvet Revolution, Poland had negotiated its way out of totalitarianism. But the Mazowiecki government faced a nearly impossible task: building democratic political institutions while resuscitating the country’s torpid economy.