Next in line is credit history. This is the history and longevity of revolving and installment debt. It accounts for 15% of your score. The longer you have credit the better you your score will be provided you do not have any late payments. What is factored is the age of your oldest account and the average age of all your accounts. When you are where you can really hurt yourself is by closing the oldest account keeping that one open under any circumstance.
If you are canceling or closing accounts always close the newest one first.