A Unified police officer was legally justified in shooting at a wanted man driving directly at him, the Salt Lake County District Attorney's Office announced Wednesday.