Median total compensation for in-house counsel across all industries and positions rocketed 21% higher in 2020, according to a new study that attributed the spike to the steep challenges companies faced attracting and retaining talent in a tight market.

The study from the New York-based executive search firm BarkerGilmore was based on surveys released in March and April. It found that base pay last year climbed just 9%, but bonuses rose 37% and long-term incentives shot up 100%.