LOUISVILLE, Ky. (WDRB) -- Many supporters turned out as Dalton Hayes and his girlfriend' mother, Sherry Peters, were in court Thursday.

Family members and friends sat waiting to see Hayes. The 18-year-old finally walked into the Grayson County court room in his orange jail suit with his hands cuffed, but he wasn't inside the court room for long.

Hayes told the judge he would not remain in the courtroom with the media present.

The judge previously issued a gag order on the case, preventing the media from speaking to Hayes.

Addressing concerns from Hayes' defense attorney, the judge has ordered a mental competency evaluation for Hayes.

He'll be back in court next week.

He and his 13-year-old girlfriend, Cheyenne Phillips, were on the run for a two weeks -- accused of a crime spree that stretched across five states.

Phillips allegedly told Hayes she was of age, but he is now facing several charges including burglary, theft and rape.

Phillips' mom, Peters, was also in court briefly Thursday. She's in jail for a custodial interference charge because she's not supposed to have contact with her daughter, but before the teens disappeared she allegedly picked Cheyenne up without permission.

Her case has also been continued. She's due in court Feb. 12.

Peters and Hayes are both being held in the Grayson county jail.

Officials won't tell us where Phillips is or what charges she may be facing because she's underage.

Copyright 2015 WDRB News. All rights reserved.