He was a Partner in the largest and most prestigious law firm in the world for 7 years.
Let me add that a state Solicitor General’s job is not a political one. Of course, he works at the pleasure of the governor who appoints him and follows his policies, but it is a working lawyer’s job, actually litigating cases, which Cruz did quite a bit, including some very important SCOTUS arguments.