Before 1979, Social Security required a marriage to last 20 years for a divorced or surviving divorced wife to qualify for benefits, leaving many women without support as they approached retirement.