NEW YORK (AP) – Intel CEO Brian Krzanich is resigning after the company learned of a consensual relationship that he had with an employee.

Intel said Thursday that the relationship was in violation of the company’s non-fraternization policy, which applies to all managers.

READ MORE: Little Elm High Students Stage Another Walkout After Returning For 1st Time Since Protest 10 Days Ago

(credit: David Becker/Getty Images)

Chief Financial Officer Robert Swan will take over as interim CEO immediately. A search for a new CEO is under way.

READ MORE: Haslet Amazon Air Hub Moving Half A Million Packages On Cyber Monday And Beyond

In this #MeToo era, corporate America is under intense pressure to enforce workplace policies on gender equality and sexual harassment.

Krzanich joined Intel Corp. in 1982 as an engineer.

MORE NEWS: Woman Found Shot To Death Inside Arlington Apartment

(© Copyright 2018 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)