The announcement of a deal between Syrian officials and the prosecutor , Detlev Mehlis , was first made in Damascus on Friday and later confirmed in a short statement issued by the United Nations secretary general , Kofi Annan , in New York . ''