SHARON, Pa., (WKBN) — Two Youngstown men, including the victim, are charged in a shooting Tuesday evening in the parking lot of an East State Street store.

Jordan Burnett, 30, of Katherine Avenue in Youngstown, faces charges of attempted criminal homicide, aggravated assault, risking catastrophe, discharging a firearm into an occupied structure, endangering the welfare of children, recklessly endangering another person, firearms not to be carried without a license and robbery.

Burnett is accused of shooting Edward Thomas, 38, of Parkhill Avenue in Youngstown, at about 9:35 p.m. in the parking lot of a Dollar General store in the 800 block of East State Street.

Thomas is charged with aggravated assault, being a felon in possession of a firearm, firearms not to be carried without a license, discharge of a firearm into an occupied structure, endangering the welfare of children, simple assault, recklessly endangering another person and tampering with evidence.

Thomas is being treated for his injuries at a local hospital, and it is unclear when he will be arraigned. Burnett is not in custody.

Warrants for both men were filed Wednesday in the office of District Justice Travis Martwinski.

An affidavit accompanying the warrants said that Thomas went to the store with a woman. Burnett, the woman’s ex-boyfriend, was also in the store with his sister. The affidavit states that Burnett got in his ex-girlfriend’s car and punched her in the face before taking her cell phone.

Thomas walked out of the store with his 5-year-old child, and he and Burnett argued before Burnett could be heard telling his sister to “hand him that gun,” the affidavit said.

The woman said she ran into the store to ask someone to call 911 and she heard several shots fired from the parking lot, the affidavit said. A one-year-old child was in the woman’s vehicle when the shots were fired, the affidavit said.

The woman came out of the store and saw both men shooting at each other, the affidavit said, before Burnett got in his sister’s car, which drove away. Police found several shell casings in the parking lot, the affidavit said.

Thomas also drove away with the woman, but several minutes later, police and paramedics were called to a home in the 300 block of Alderman Avenue, where police found Thomas.

There was a large amount of blood inside the car and a trail of blood from the car to the home, the affidavit said.