About 12 million people will get a lift in their credit scores next month.

Credit scores will see a pop of anywhere from about 10 to over 40 points, all thanks to a little-known policy change having to do with tax liens and civil judgments.

A tax lien is a legal claim the government has over your assets if you fail to pay your taxes.

Civil judgments are similar, but they are payments ordered by the courts in settlements.

Starting July 1, the nation’s three major credit bureaus – Equifax, Experian and Transunion – will wipe about half of tax liens and most civil judgments data from consumer’s files.

The reason is because a lot of this lien and judgment information is wrong.

The change stems from a class-action lawsuit brought against attorney generals in 31 states.