Two Maryland men were indicted by a federal grand jury Wednesday on firearms charges they obtained while in York County.