A New Jersey native accused of kidnapping a 23-year-old woman and keeping her in his apartment for three days appeared Wednesday in a Massachusetts court, according to MassLive.

Peña, who was arrested Tuesday and lives in a housing development in Boston, was held without bail and ordered to undergo a 20-day mental health evaluation at a Massachusetts psychiatric hospital until his next court date on Feb. 11, the report stated.

Officials did not say which New Jersey town Pena formerly called home.

Peña was accused of guiding Olivia Ambrose, of Wenham, Massachusetts, toward his Charlestown apartment on Saturday night where he kept her against her will, the report said.

Ambrose was found alive on Tuesday in Peña’s apartment and taken to a local hospital for evaluation, according to another MassLive report.

Police told MassLive that Ambrose’s phone was originally taken from her, but that she was able to retrieve it and text her mother while authorities tracked it to help lead them to the apartment.

In Charlestown District Court on Wednesday, a clinician said that Peña sucked his thumbs, prayed for forgiveness, and admitted to hearing voices and having paranoid thoughts.

A judge ordered that Pena should be committed to Bridgewater Hospital until his arraignment, the article stated.

Chris Sheldon may be reached at csheldon@njadvancemedia.com. Follow him on Twitter @chrisrsheldon Find NJ.com on Facebook.

Have a tip? Tell us. nj.com/tips

Get the latest updates right in your inbox. Subscribe to NJ.com’s newsletters.