If you were married 10 years or longer, then your spouse can collect Social Security based on your earning history.