Toyota says Julie Hamp, who was arrested in Japan last month on suspicion of drug law violations, has resigned as managing officer. She was the most senior female executive ever at the Japanese automaker.

Toyota Motor Corp. issued a statement Wednesday saying it had accepted her resignation, considering the troubles the arrest had caused stakeholders.

Hamp, a 55-year-old American and Toyota's newly appointed head of public relations, was arrested June 18 on suspicion of importing oxycodone, a narcotic pain killer, into Japan. The drug is tightly controlled in Japan.

Toyota declined to disclose other details, noting the investigation was still ongoing.

Her appointment in April had been highlighted with much fanfare as a step toward promoting diversity. Toyota reiterated that it remained committed to diversity.