Updated

A 25-year-old man was arrested yesterday in front of ABC's “Good Morning America” studios after he allegedly pulled out a knife. He later told police he went there to “kill Michael Strahan,” the former football great and TV personality, police sources told FOX411.

“The suspect went to the entrance of ABC studios and demanded that security let him into the studio. He was denied entrance, at which time he showed a knife. He [then] attempted to stab a security guard,” a police source said.

A rep for ABC explained that a police officer on duty nearby quickly stepped in to help.

“We’re incredibly thankful for the quick actions of a heroic NYPD officer who acted quickly and got the situation under control," the network said in a statement.

The suspect, Andre Johnson, later told police during a debriefing that “he was there to kill Michael Strahan,” a source said, clarifying, “when he displayed the knife he did not say that.”

Johnson is homeless and was still in jail as of Wednesday morning.

He was charged with assault, menacing and criminal possession of a weapon, a police source told us.

Strahan, a retired professional football star who played 15 seasons with the New York Giants, was voted into the NFL Hall of Fame this year. He joined the cast of “GMA” back in April, and is also the co-host for the network’s “Live! With Kelly and Michael,” alongside Kelly Ripa.

A rep for Strahan did not immediately return FOX411’s request for comment.