The president stopped short of conceding victory to his leftist election opponent, but told his nation he would obey the constitution.