Founded in Durban in July 2002 , the AU was formed as a replacement to the Organization of African Unity ( OAU ) and the African Economic Community ( AEC ) . Established on 9 July 2002 , the AU was formed as a successor to the Organisation of African Unity ( OAU ) .