Trujillo's departure comes as the retailer is embroiled in a legal dispute with the Justice Department over its compliance with the Controlled Substances Act. Federal prosecutors allege in a lawsuit filed last year that Walmart contributed to the nation's opioid crisis by failing to adequately screen for questionable prescriptions. Walmart had preemptively sued the government to combat allegations that the company was ignoring warnings from its own pharmacists about alleged prescription abuses. Trujillo was promoted to executive vice president and global chief ethics and compliance officer in February 2019. He joined Walmart in 2012 as a senior vice president and to assume the newly created position of international chief compliance officer. Trujillo came aboard as Walmart was facing allegations of a massive bribery and corruption scheme at its Mexico operations, Walmex. The company in 2019 agreed to pay $282 million to resolve the investigations into possible violations of the Foreign Corrupt Practices Act.