After WWII, Poland and Spain had similar living standards, but over the next 40 years, thanks to the brutal communist system imposed by the Soviet Union, Poland fell far behind. But look what has happened over the past 25 years. Per-capita GDP has skyrocketed in Poland and the gap between the two nations has dramatically narrowed.
Source