The former federal prosecutor defeated incumbent George Gascón by a landslide. The Associated Press called the race at 1 a.m.