An inmate in Arizona was mistakenly released Thursday after he assumed the identity of another inmate, authorities said.

Anthony Pena was released from jail at 2:20 a.m. when he pretended to be another inmate, FOX10 Phoenix reported, citing the Maricopa County Sheriff's Office. 

LOUISIANA JUVENILE INMATES WHO ESCAPED WITH SECURITY OFFICER HAVE BEEN CAUGHT: POLICE

Officers realized at around 9:30 a.m. that Pena had been mistakenly released, according to AZFamily.

Arizona inmate mistakenly released

Anthony Pena was mistakenly released from jail in Maricopa County, Arizona, after pretending to be another inmate on Thursday. (Maricopa County Sheriff's Office)

The sheriff's office said it was working with the courts to issue a warrant for Pena's arrest.

CLICK HERE TO GET THE FOX NEWS APP

Phoenix police had earlier booked Pena into jail on drug charges and for failing to appear in court. His bond had been set at $250, the outlets reported.

No further details were immediately available.