A homeless man wielding a knife has been arrested in New York City after he attempted to gain access to the Tv studio where Good Morning America (Gma) is filmed.

Andre Johnson, 25, is believed to have approached security guards outside ABC Studios in Manhattan's Times Square on Tuesday (01Jul14) and demanded to be let into the building.

He was turned away, but allegedly returned carrying a knife and attacked one of the security guards.

Police were called to the scene, and pictures show cops restraining Johnson on the street outside the Tv hub.

He also allegedly made threats against football player-turned-Tv host Michael Strahan, who is a contributor on Gma.

Johnson was arrested and taken to a local police station where he was charged with assault, criminal possession of a weapon, and menacing, according to the New York Daily News.

A spokesperson for Abc called the cop a "hero" for tackling the man, and added, "It was a scary situation but thanks to the fast actions of Nypd (New York Police Department) the situation was quickly under control."