Kenneth W. Starr, the independent counsel during the Clinton Whitewater investigation and a former U.S. solicitor general and appeals court judge, has died at the age of 76, according to a statement from his family.

Starr’s lengthy legal career involved both prosecuting and defending U.S. presidents during impeachment trials, first against former President Bill Clinton in 1998, and then defending former President Donald Trump in 2020.