Trial lawyers are holding steady as one of the Democratic Party’s biggest sources of campaign contributions, providing a cushion for the party as it struggles to maintain control of Congress in the midterm elections.

Lawyers who represent plaintiffs in securities class actions, personal injury cases and consumer protection lawsuits have donated millions of dollars this election cycle to Democratic campaigns. At some law firms, they’re contributing even more to federal candidates than they did in either of the previous two election cycles, including the 2008 campaign when presidential hopefuls were after their money.