A top Silicon Valley engineer has stepped down from his role at Uber after it was discovered there were allegations of sexual harassment against him at his previous job at Google that he did not disclose when he was hired.

The engineer, Amit Singhal, is leaving Uber after Recode's Kara Swisher notified the company of the allegations through her reporting. Singhal was SVP of engineering at Uber.

Uber CEO Travis Kalanick asked Singhal to resign after learning about the allegations, according to a person familiar with the situation. The person also said Singhal went through the standard background checks before his employment at Uber and the sexual harassment allegations during Singhal's time at Uber never came up.

Singhal oversaw Google's search engine for years and was considered one of the company's most powerful executives.

According to Swisher's report, a female employee filed a sexual harassment complaint against Singhal while they were at Google in 2015. Google later allowed Singhal to leave his job before the company could take further action against him, Swisher reported. Singhal is said to have denied the allegations.

In a statement to Business Insider through a spokesperson, Singhal continued to deny the allegations.

"Harassment is unacceptable in any setting," the statement says. "I certainly want everyone to know that I do not condone and have not committed such behavior. In my 20-year career, I've never been accused of anything like this before and the decision to leave Google was my own."

(To be clear, Singhal's spokesperson said Singhal is not denying that the allegations took place. He's only denying that they're true.)

Singhal announced his retirement from Google in February 2016 after nearly 15 years at the company.

"I am eager to see what kind of impact I can make philanthropically, and of course, to spend more time with my family -- especially with my wife who I miss spending time with given our incredibly busy lives, and our son who will go to college soon, leaving an empty nest behind," he wrote at the time of his departure from Google.

Singhal's departure comes after a rough several days for Uber. The company is undergoing an internal investigation with former attorney general Eric Holder over allegations of sexual harassment within the company following a bombshell blog post by former engineer Susan Fowler. A New York Times article highlighted even more seedy parts of Uber's culture, alleging drug use and groping. And to top it all off, Waymo, Google's new name for its self-driving car company, is suing Uber, alleging one of its employees stole key self-driving technology.

Uber declined to comment. Google also declined to comment.

This post originally appeared on Business Insider.