McDonald¡¯s Corp. dismissed Chief Executive Steve Easterbrook over a recent consensual relationship with an employee, which the board determined violated company policy, the fast-food giant said on Sunday.

The board found that Easterbrook, 52, who had led McDonald¡¯s since 2015, had ¡°demonstrated poor judgment¡± involving the relationship, McDonald¡¯s said in a news release. Easterbrook relinquished his seat on the company¡¯s board as well.

¡°This was a mistake,¡± Easterbrook said of the relationship in an email to employees on Sunday released by the company. ¡°Given the values of the company, I agree with the board that it is time for me to move on.¡±