He attended the U.S. Military Academy at West Point where he majored in Mechanical Engineering, graduating first in his class in 1986 and serving in the Regular Army as an Armor Branch cavalry officer from 1986 to 1991. He received his J.D. from Harvard Law School, where he was an editor of the Harvard Law Review.