 He also served as the President of the Young Democrats of Maryland from 1997 to 1998, and in 1998 was selected to represent the United States on the American Council of Young Political Leaders' delegation to Taiwan.He was also a member and on the Executive Committee of the Queen Anne's County Local Management Board.In 2002, Kratovil ran for the office of State's Attorney in Queen Anne's County and was elected after defeating four-term incumbent David Gregory in the primary and Republican Paul W. Comfort in the general election.