Karen Roberts said on LinkedIn on Tuesday that she is stepping down as general counsel of Walmart and leaving the company, ending a 27-year career with the retail giant.

She’s been executive vice president and general counsel for 10 years.

Karen Roberts, an Arkansas native, has spent her entire legal career at Walmart.