Bill Gates left Microsoft board amid investigation into affair, according to report

In this screengrab, Bill Gates speaks during All In WA: A Concert For COVID-19 Relief on June 24, 2020 in Washington. (Photo by Getty Images/Getty Images for All In WA)

Board members at Microsoft Corp. made a decision in 2020 that it wasn't appropriate for its co-founder Bill Gates to continue sitting on its board as they investigated the billionaire’s prior romantic relationship with a female Microsoft employee that was deemed inappropriate, according to a report in The Wall Street Journal.

Citing unnamed sources, The Journal reported online Sunday that board members looking into the matter hired a law firm in late 2019 to conduct an investigation after a Microsoft engineer alleged in a letter that she had a sexual relationship with Gates over several years.

The Journal reported that Gates resigned before the board's investigation was finished, citing another person familiar with the matter.

RELATED: Bill Gates, wife Melinda announce divorce after 27 years of marriage

An unnamed spokeswoman for Gates acknowledged to The Journal that there was an affair almost 20 years ago, and that it ended "amicably." The spokesperson told The Journal that "his decision to transition off the board was in no way related to this matter.""

When he left Microsoft's board last year, Gates said he was stepping down to focus on philanthropy.

Microsoft couldn't be immediately reached for comment.

Earlier this month, Bill and Melinda Gates announced that they were divorcing after 27 years of marriage but would keep working together at the Bill and Melinda Gates Foundation, one of the largest charitable foundations in the world. Gates was formerly the world’s richest person and his fortune is estimated at well over $100 billion.

Earlier Sunday, The New York Times reported that Gates had developed "a reputation for questionable conduct in work-related settings."

The Times reported that on at least a few occasions, Gates made overtures to women who worked for him at Microsoft and the Bill and Melinda Gates Foundation. The Times cited people with direct knowledge of his behavior.

NewsNewsBill GatesBusinessNew York