White House communications director Hope Hicks told lawmakers investigating President Donald Trump's ties to Russia that one of two accounts she had used in the past had been hacked.

It was not clear which account — a personal one or one she had used during Trump's campaign had been hacked — and who was responsible.

Hicks is a key figure in the Russia investigation due to her closeness to the president since the start of his 2016 campaign.

Sign up for the latest Russia investigation updates here.

White House communications director Hope Hicks made an unusual admission during her testimony last month before the House Intelligence Committee.

Speaking to lawmakers as part of the congressional investigation into President Donald Trump's possible ties to Russia, Hicks told the panel that an email account she had used in the past had been hacked, and that she no longer had access to it, sources told NBC News. She mentioned two accounts during her testimony, one personal and another that she had used during Trump's 2016 presidential campaign, but did not immediately clarify which one had been hacked.

Hicks, who recently resigned her White House position, told the panel that she was not technology savvy, and lawmakers were unable to determine who might have been behind the hack or what information may have been compromised as a result.

Hicks's comments about her email accounts took place during hours of testimony in which she refused to answer questions relating to her time in Trump's White House. Hicks reportedly told the committee that she sometimes tells "white lies," and when asked if she had ever lied on Trump's behalf, she took 10 minutes to confer with her lawyer before answering that she hadn't done so with respect to the Russia investigation.

Hicks's communications have come under scrutiny by both the House Intelligence Russia investigation and the investigation of special counsel Robert Mueller, who reportedly interviewed Hicks in December. Hicks's role on Trump's campaign and her time on his transition team have come under increasing scrutiny due to her close relationship to the president and her presence at several key events that are now of interest to investigators looking in Trump's ties to Russia.

She was present for the aftermath of the now-infamous Trump Tower meeting in June 2016 in which members of the campaign met with a Russian lawyer to discuss "dirt" on 2016 presidential candidate Hillary Clinton, and reportedly said on a conference call that the emails mentioning the nature of the meeting "will never get out."

A day after her committee testimony, Hicks announced her resignation from the White House, although it was apparently unrelated to her questioning and had been months in the making.