A Selma police officer has died after being shot in the line of duty Tuesday. The Fresno County Sheriff's Office says they have taken a person of interest into custody.