Md. Code Ann., Corps. & Ass'ns § 4A-804
If a derivative action is successful, in whole or in part, or if anything is received by the plaintiff as a result of a judgment, compromise, or settlement of an action or claim, the court:
Added by Acts 1992, c. 536.