A five-day voting period in Sudan ended Thursday, and ballot-counting was set to begin, in national elections considered an important step for the country's democracy but marred by allegations of fraud and opposition party boycotts.