Afghanistan’s elected president was sworn in while much of America was sleeping.