U.S. President Donald Trump on Friday accused a witness in the Democratic-led impeachment inquiry of lying and offered an explanation for his controversial use of his personal lawyer Rudy Giuliani on Ukraine policy, saying Giuliani's crime-fighting abilities were needed to deal with a corrupt country.

Trump made his remarks the day after the fifth and final scheduled day of public hearings in the U.S. House of Representatives inquiry, which threatens his presidency even as he seeks re-election in November 2020.

The Republican president took issue with testimony on Thursday by David Holmes, a U.S. embassy official in Ukraine. Holmes said under oath that at a Kiev restaurant he overheard a July 26 cellphone conversation in which Trump loudly pressed Gordon Sondland, the U.S. ambassador to the European Union, for details on whether Ukraine would carry out politically motivated investigations the president was seeking.