Ernesto Miranda, a Mexican immigrant living in Phoenix, Arizona, was identified in a police lineup by a woman, who accused him of kidnapping and raping her. Miranda was arrested and questioned by the police for two hours until he confessed to the crimes.