denzel washington was cast in `` cry freedom '' after a worldwide search for an actor to play the vital role of steven biko , the black leader who was beaten to death by south african police while in their custody .