A teacher at an Arizona prison was alone in a room full of sex offenders before being stabbed and sexually assaulted by a convicted rapist, according to documents obtained by The Associated Press about an attack that highlighted major security lapses at the facility.

A divided federal appeals court panel Wednesday upheld the 51-month sentence for a Mexican man charged with illegal re-entry to the country, saying his 2000 conviction for having sex with a 14-year-old girl could be counted against him.