CHARLOTTESVILLE, Va. (CBS19 NEWS) -- The judge needs more time to think about a proposed plea deal for the man accused of killing one person and wounding two others during a shooting on the Downtown Mall.

Marcel Washington, 34, pled guilty to second degree murder and two counts of malicious wounding in Charlottesville Circuit Court Thursday morning.

But the judge didn't accept the agreement given to him by counsel. It seemed to be a surprise to both sides and the almost 50 people in the courtroom.

The shooting happened on Oct. 23, 2022, just before 1 a.m. on the Downtown Mall.

Prosecutors say Washington got into a fight inside Lucky Blue's with Davonn Wilson at that time. They say Wilson started punching Washington and then ran out of the bar. Video from inside and outside the bar shows who they say is Washington shooting at Wilson and then running off the Mall.

Wilson was shot six times and was declared dead at UVA hospital about six hours later.

Bullets also hit two bystanders walking along the Mall in different groups. Both women were hit in the leg and suffered serious injuries. They were in the courtroom hoping to give witness impact statements Thursday morning.

Investigators found five shell casings inside the bar and eight on the Mall.

The plea agreement called for 25 years in prison. The judge said he needs more time to decide if that's acceptable and wants to look at the pre-sentencing report. The charges Washington faces carry up to 80 years altogether.

Washington will appear back in court on June 25 to learn the judge's final ruling on the deal.