Western Maryland is more like West Virginia. While it’s rural and less populated than down state region, it use to be solidly republican. That was until democrats redistricted it to place heavily liberal part of the state into the 6th district and dilute away the majority Conservative stronghold.
The Supreme Court has agreed to include the challenge of Maryland’s redistricting to the gerrymandering case from Wisconsin, Gill v. Witford, where a computer program systematically redrew districts to ensure control of state government for Republicans.
It looks to me like SCOTUS is getting ready to throw out redistricting by political affiliation.