Legal department spending shot up last year—with departments at the median seeing a 23% spike, to $3.8 million.

The survey found that companies with revenue between $1 billion and $5 billion spent a median of $6 million on legal, while those with revenue between $5 billion to $10 billion spent almost $32 million.