A man was taken to Bellevue Hospital after swinging a sword around the Apple Store on Fifth Avenue. View Full Caption Instagram/jimmyccy

MIDTOWN EAST — A man whipped out a samurai sword at the Fifth Avenue Apple Store on Friday afternoon, terrifying shoppers, police and witnesses said.

The man, who was wearing a bucket hat and gray jacket, walked into the store at 3:55 p.m. on Friday and unsheathed the sword but did not threaten anyone, police said.

Video posted online by a witness shows the man in the store's spiral staircase, swinging the sword around before coming down to the ground floor.

Crazy dude with samarai sword in Apple Store

A video posted by Jimmy Chen (@jimmyccy) on Nov 20, 2015 at 12:47pm PST

An Apple Store employee, who wished to remain anonymous, said that at one point the deranged man yelled "I just want an iPhone!" as he swung the sword on a staircase landing.

"It was pretty scary," the employee said.

"The merchandise floor was packed, and all of a sudden I see that the staircase was empty. I thought, that's bizarre," said Nancy Birnbaum, a lawyer who lives nearby and was at the Apple Store to type up an email.

"I see a man who proceeds to pull out this sword, this mother-effing sword! The blade must have been 2 feet, curved, shining. Everybody just quickly moved back to the perimeter of the store. I've never been more terrified in my life," Birnbaum said.

Ran into this crazy dude with a samurai sword at the Apple Store on 5th ave. I'm staying home and hiding ...#applestore #psycho A photo posted by MARGARET HUERTA (@margaretmhuerta) on Nov 20, 2015 at 2:23pm PST

According to a witness who stood outside the store, the sword-wielding man came outside where he threatened to cut his own neck with the weapon.

"He put the sword to the back of his neck and just held it there," said the 30-year-old witness, who declined to give his name. "I've never seen anything like this in my life."

The man was tackled and subdued outside of the store by Apple Store security officers and police, according to witnesses and the NYPD.

No one was injured.

The man was taken by ambulance to Bellevue Hospital in stable condition where he is being evaluated, police said.

The Apple store did not answer a call for comment.