African who nearly was pope