Two brothers who were arrested this summer after one of them inadvertently fired a pistol during a wedding at the Waldorf Astoria were indicted on felony weapons charges on Tuesday, according to court filings.

Vladimir Gotlibovsky, of the Mill Basin section of Brooklyn, was carrying a 9-millimeter Ruger semiautomatic pistol in his pants pocket at the wedding in June when it discharged in the hotel lobby, wounding him in the leg, the police said previously. The bullet ricocheted off the lobby’s marble floor, grazing a woman in the head and setting off shrapnel that injured a man and two hotel employees, according to the police.

Mr. Gotlibovsky, 43, and his brother Felix Gotlibovsky, 52, also of Mill Basin, were charged on Tuesday with criminal possession of a weapon and tampering with physical evidence, both felonies. They were arraigned in State Supreme Court in Manhattan, and released overnight on deferred bail. They are scheduled to appear in court on Wednesday for a bail conference, their lawyers said.

“Dangerous weapons have no place at a wedding reception,” the Manhattan district attorney, Cyrus R. Vance Jr., said in a news release announcing the indictments. “This frightening incident risked the safety of fellow wedding guests, as well as hotel employees.”