U.S. Circuit Judge Brett M. Kavanaugh, a former clerk for Supreme Court Justice Anthony M. Kennedy who is viewed as one of the leading contenders to replace him, has argued that presidents should not be distracted by civil lawsuits, criminal investigations or even questions from a prosecutor or defense attorney while in office.

Kavanaugh had direct personal experience that informed his 2009 article for the Minnesota Law Review: He helped investigate President Bill Clinton as part of independent counsel Kenneth W. Starr’s team and then served for five years as a close aide to President George W. Bush.

Having observed the weighty issues that can consume a president, Kavanaugh wrote, the nation’s chief executive should be exempt from “time-consuming and distracting” lawsuits and investigations, which “would ill serve the public interest, especially in times of financial or national security crisis.”