Mr. Preval was president of Haiti from 1996 to 2001 .