Huh, good question. It's actually a very, very old use – the OED gives examples going all the way back to 1740, apparently (see entry 2b. below.)
https://www.oed.com/dictionary/litigate_v?tab=meaning_and_us...