NBC News' Black Lives Matter sues Trump administration over use of force on D.C. protesters says
Black Lives Matter filed suit along with the American Civil Liberty Union against the administration for violating the protesters' civil rights.
and this is just one example of many suits filed against this US administration, and suites are regularly probably filed against many (all?) US presidential administrations.
Question: Since US administrations are ephemeral, what happens to lawsuits in cases when they are either just starting or well underway and an administration exits due to the election of a new president? Does it matter if the new administration is of the same party or a different one?
Is there a "standard procedure" of some kind for this?