A lot of people try to avoid high legal fees by doing their divorces without lawyers.
It used to be that a lawyer took your case from beginning to end. Once signed on, they couldn’t get out of the case until the court released them or you fired them. So they asked for a pretty big advance fee or retainer.
Maryland law now permits a lawyer to limit the scope of their engagement. That means you can hire a lawyer for a particular task instead of the whole case. You can hire them as a consultant, or for a particular motion, or to appear with you at a hearing.
For the right case (one that does not have too many complications), this might be a way to keep your legal fees down.