Macy’s chief legal officer Elisa Garcia will retire in October after seven years as the department store giant’s top lawyer.

Garcia, 65, helped the company rapidly expand its online sales capabilities, survive the COVID-19 shutdowns and fight off an effort by activist investors to spin off online operations into a separate business.