NEW YORK — Two Fairfield County men were arrested early Saturday after, police said, they climbed into up onto beams above the Brooklyn Bridge.

Sean Cody, 26, of Broad River Lane in the Southport section of Fairfield, and Scott Lockett, 24, of Hoyt St. in New Canaan, were charged with second-degree reckless endangerment and trespass.

The Daily News reported the two climbed aloft to take a better selfie. The New York City Police Department told Hearst Media Connecticut that they received a 911 call about 6:30 a.m. came in about “emotionally disturbed males on the beams of the Brooklyn Bridge.”

Police said when officers arrived, they saw the two sitting on beams of the bridge over moving traffic, “creating a substantial risk of danger to themselves and others.”

Police said the two were told to climb down to the walkway and that they complied. They were arrested.

Authorities in New York City have had little patience for such alleged stunts, particularly since two German artists scaled the stone towers of the span on July 22, 2014, and replaced two American flags with bleached white versions of the flags. The stunt unnerved people living in the city and raised questions about security of its infrastructure.