The confrontation began when Dodds, a student at Montgomery County Community College who had attended the party with a girlfriend, got into an argument with Hirst-Hermans. A fight broke out and Dodds was ejected.
About 30 minutes later, when Hirst-Hermans and some friends were leaving, Dodds appeared and fired a shot from his licensed 9mm Glock, striking Hirst-Hermans in the chest.
Judge Nina Wright-Padilla said Hirst-Herman "probably would have died" had it not been for police, who rushed him to a hospital.
"You made a very bad decision," Wright-Padilla told Dodds.
Dodds' lawyer, Christopher Phillips, had asked for a sentence of 41/2 to 6 years in prison.
Assistant District Attorney Allison Worysz displayed the handgun Dodds used, pointing out that Hirst-Hermans "lost a third of his blood when the defendant shot him with this gun."
Worysz said Dodds was wearing a shoulder holster and had hollow-point bullets when he "made a conscious decision to hurt another individual."