After this, he became the Acting Representative of the United Nations High Commissioner for Refugees in Tanzania, and continued working for international institutions, later on becoming one of the first black Attorneys at the World Bank in Washington, D.C.
In 1976, having returned to Khartoum, Medani started working at the Arab Bank for Economic Development in Africa, in this time he also became more involved in activism to promote democratic governance, human rights, and the rule of law in Sudan.
In 1991, Medani was arrested following the coup d'etat that brought Omar al-Bashir to power, and subsequently expelled from Sudan by the government, causing him to migrate to Cairo and work at the Egyptian Bar Association.
[3][6] During his tenure in Baghdad, Medani witnessed and was injured in the Canal Hotel bombing that killed former United Nations Commissioner for Human Rights and Special Representative to Iraq, Sérgio Vieira de Mello.
The firm works in a variety of legal cases and its clients include the Kenana Sugar Company, the Haggar Group, US Embassy, the British Embassy, French Embassy, and the Bank of Khartoum[7] In December 2014, after returning from the signing of the Sudan Call held in Addis Ababa, Medani, who had signed the document as President of the Civil Society Initiative was arrested, along with Farouk Abu Eissa, Chairman of the National Consensus Forces, and others when a large number of personnel from the Sudanese National Intelligence and Security Services (NISS) agents, arrived at his home in Khartoum just before midnight on Saturday, 6 December.
Although his family was not informed of the reasons for the arrest, it is believed he was arrested for signing, the Sudan Call, a statement signed by representatives from political and armed opposition parties across the country, to work towards the ending of the conflicts in Sudan in Darfur, South Kordofan and Blue Nile and build a foundation for a lasting democracy based on equal citizenship and comprehensive peace.
[9] On August 31, 2018, after being denied permission to leave the country by the government and suffering from a long battle with heart disease and kidney failure, Medani died.