Mr. Allawi was among the first to officially announce his candidacy Wednesday , appealing to the country 's diverse ethnic and religious groups .