If either real or personal property is sold, the lien under which it is sold, any liens subordinate thereto, and any state tax lien (as defined in GC 7162) on the property sold are extinguished. (CCP 701.630)