Intel Corp chief executive Brian Krzanich resigned on Thursday after a company probe revealed that a consensual relationship he had with an employee violated company policy.The head of the largest US chipmaker is the latest in a line of powerful men in business and politics to lose their jobs or resign over relationships viewed as inappropriate, a phenomenon highlighted by the #MeToo movement.“An ongoing investigation by internal and external counsel has confirmed a violation of Intel’s non-fraternization policy, which applies to all managers,” Intel said in a statement.The board named Chief Financial Officer Robert Swan as interim CEO and said it has begun a search for a permanent CEO, including both internal and external candidates.Intel declined to give any further information about the probe. Intel shares fell 1.3 percent in early trade.Krzanich, 58, was appointed Intel CEO in May 2013, and was in charge of moving the company’s focus to growing data centers from personal computers. Intel shares more than doubled during his tenure. He was recently credited with containing the fallout from the disclosure of some security flaws in the company’s chips that could allow hackers to steal data from computers, although his sale of some Intel stock before the flaws were disclosed to investors attracted some criticism. “There are no new payments as part of his departure,” a source familiar with the company told Reuters.Temporary replacement Swan has been Intel’s CFO since October 2016 and previously spent nine years as CFO of eBay Inc.Intel recently raised its second-quarter revenue and profit forecast, saying it expects quarterly revenue of about $16.9 billion and adjusted profit of about 99 cents per share, up from a previous forecast of $16.3 billion in revenue and adjusted earnings per share of 85 cents.Analysts on average were expecting revenue of $16.29 billion and adjusted profit of 85 cents per share.