Intel Corp.’s chief executive officer is out after news that he once dated an employee, a violation of the tech company’s nonfraternization policy for all managers.

Now former-CEO Brian Krzanich’s past relationship with an unnamed employee became public Thursday after Intel announced his resignation. The Santa Clara, California-based company said the relationship came to light during an ongoing investigation by internal and external counsel.