President Omar al-Bashir has been the Sudanese president since he led a bloodless coup in 1989.
The new rulers of Libya have given a VIP welcome to visiting Sudanese president Bashir.
The arrival of the Sudanese president had been kept secret.
After an arrest warrant was issued for the Sudanese president in March 2009, the Prosecutor appealed to have the genocide charges added.
Iran's supreme leader said Tuesday at a meeting here with the Sudanese president that Iran was ready to share its nuclear technology with other countries.
Hague says the Sudanese president, Omar al-Bashir, has been charged by the ICC even though he is a serving head of government.
Mr. Ban protested that the Sudanese president was reneging, and Western officials said any reworking of the pact would delay a peacekeeping force until the start of 2008.
The rebels say it is not their goal to depose the Sudanese president, Omar al Bashir, nor to create an independent state.
The Sudanese government cancels plans to attend scheduled peace talks in Geneva with western rebels just days after the Sudanese president proclaimed military victory in the insurgency.
The Sudanese president, Omar Hassan al-Bashir, said, "The international concern over Darfur is actually a targeting of the Islamic state in Sudan."