Police responding to reports of an armed standoff outside the Potomac Avenue Metro station Thursday afternoon arrested a Maryland man aboard a train with a loaded handgun, according to a D.C. police report.

Isaiah Xavier Pollard, 18, of Forestville was charged with carrying a handgun without a license and possession of an unlicensed firearm.

Pollard denied that he pointed a gun at anybody in the incident, according to the report, obtained by The Washington Post. He also told police that one of his friends had been jumped two months ago by residents of nearby Potomac Gardens Apartments.

“Pollard denied that he was in the area for retaliation,” the report stated.

Pollard told police he found the Hi-Point .380-caliber gun loaded with nine bullets near his house in Prince George’s County and took it with him on a shopping trip to the District, according to the report. He said he saw other people playing with a gun near the Metro station and that he went ahead to catch his train at the station, at 14th Street and Pennsylvania Avenue SE.

D.C. police said that bystanders flagged down two officers on bicycles and told them that two men were pointing guns at each other. One was described as wearing camouflage pants. Police said the officers ran into the station and boarded a train that was preparing to leave. The report said the officers saw a man fitting the description and ordered him to stand.

“Why are you stopping me?” the man asked police, according to the report. “They were the ones pointing the gun.” Police said they asked him whether he had a weapon, and he stated, “It’s in my right pants pocket,” the report said.

Metro spokesman Dan Stessel said the investigation did not cause Metro to stop trains.

Julie Zauzmer contributed to this report.