Charges of assault with intent to murder, carrying a deadly weapon, reckless endangerment and assault were dropped in exchange for the plea Thursday.
According to Assistant State's Attorney Susan Haugh, the incident occurred in the 200 block of North Jonathan Street.
The victim, Jeffrey Lynn Washington, 35, of Hagerstown, was admitted to Washington County Hospital with a stab wound in his lower left back.
Police reports indicate Washington had been walking along when a man approached him from behind and accused him of "messing with his woman.''
An argument ensued, and Washington was stabbed, police said.
He walked to the hospital for treatment of his injuries, which included a collapsed lung, police said.
Police interviewed Washington in his hospital bed the day after the incident and Washington identified his alleged attacker.
A photo array shown to Washington led to Albert Monroe being charged, police reports said.
Monroe is on parole for distribution of cocaine and faces six years of backup time for that conviction, Haugh said. His prior criminal record also includes theft and armed robbery, Haugh said.