The man behind the mask is now behind bars after the clown mask robbery at a Bloomington McDonald's this week.

BLOOMINGTON, Ind. (WTHR) - The man behind the mask is now behind bars after the clown mask robbery at a Bloomington McDonald's this week.

Police say 20-year-old Juan Ramon Rivera confessed to walking into the store on 3rd Street near College Mall Rd. around 3 a.m. Wednesday. That's not far from the Indiana University campus.

Eyewitnesses say he entered the restaurant wearing a clown mask and carrying a black semi-automatic handgun. He took the manager at gunpoint to the back office where he stole $900 then left through the back door.

No one was hurt.

Based on his voice, witnesses identified Rivera as a former employee who showed the same mask to them last year. Police say he later showed investigators a photo of him wearing the mask.

Detectives tracked him down based on those witness identifications and arrested him at his apartment. Police say he admitted to the crime, saying he did it to pay for his rent.

Investigators found at Rivera's apartment all of the clothing witnesses described him wearing during the crime, along with about half the money, the handgun and a pellet gun.