(a) An attorney has a lien for compensation, whether specially agreed upon or implied, as provided in this section
(1) first, upon the papers of the client that have come into the possession of the attorney in the course of the professional employment;
(2) second, upon money in the possession of the attorney belonging to the client;
(3) third, upon money in the possession of the adverse party in an action or proceeding in which the attorney is employed, from the giving of notice of the lien to that party;
(4) fourth, upon a judgment to the extent of the costs included in the judgment or, if there is a special agreement, to the extent of the compensation specially agreed on, from the giving of notice of the lien to the party against whom the judgment is given and filing the original with the clerk where the judgment is entered and docketed.
(b) The lien described in (a) of this section is superior to all subsequent liens except tax liens. The lien is a charge on the action, and the parties to the action may not extinguish or affect the attorney's lien by any means, including settlement, other than by satisfying the underlying claim of the attorney for the fees and costs incurred in connection with the action. Nothing in this subsection precludes a party from contesting an attorney's lien under applicable law.