A man police say harassed Maryland moviegoers and pretended that he had a gun in a theater has been charged with disorderly conduct and other offenses.

Anne Arundel County police say Kyle Nolan Tanner, 25, entered Bow Tie Cinemas at the Annapolis Harbour Center on Tuesday afternoon while “Madagascar 3” was playing, sat down in the front row and began cursing at the movie screen and audience members.

He left left the theater twice and, upon returning a final time, began pointing at people in the audience, simulated a gun using his hands and cursing, according to police.

Authorities say there was no indiciation that Tanner had an actual weapon or was under the influence of drugs or alcohol.

Tanner, of no fixed address, was charged with disorderly conduct, reckless endangerment and second-degree assault. Police said they were consulting with the state’s attorney about the charges but did not expect additional ones.