The identity of a man fatally shot by San Joaquin County Sheriff’s deputies near Eastside Park in Stockton this week has been released as details of a bizarre series of events that led to his death have begun to emerge.

Gregory Fitzgerald, 41, died at the county hospital after having been shot Monday by deputies in Stockton’s Garden Acres neighborhood just east of downtown, according to the county medical examiner.

Fitzgerald’s city of residence was “still to be determined,” the office said.

The sheriff’s office has released scant details about the events leading up to the officer involved shooting that occurred in the 5000 block of Ardelle Way. The “suspect” was initially described by law enforcement as “believed to be armed” but no more explanation was offered.

In a follow-up social media posting a day after the shooting, sheriff’s officials said they are trying to “ensure there is no bias and that transparency is upheld” through a joint investigation into the shooting with the San Joaquin County District Attorney’s Office and state Attorney General’s Office.

On Wednesday, Heather Brent, a sheriff’s office spokesperson, said no further details about the shooting are being released at this time, while the DA’s office has deferred request for comment to the attorney general’s office. The AG’s office said it had no comment beyond the press release issued the day of the shooting, which stated the office would be involved in the investigation as required by state law.

SJ County Sheriff Patrick Withrow, however, told ABC10 News in Sacramento that the incident began when deputies on routine patrol saw something suspicious, described as someone throwing trash out of a car window. A deputy was described as having approached Fitzgerald, who was in the car. An exchange of words between the deputy and Fitzgerald then allegedly devolved into a struggle, at which point Fitzgerald is said to have run off.

Withrow told the station that Fitzgerald allegedly yelled he had a gun and was threatening to shoot the deputy.

Deputies chased Fitzgerald into the Garden Acres neighborhood where he climbed atop of the roof of a home — apparently not his own, the sheriff explained to ABC10. Deputies then surrounded the house and attempted to convince Fitzgerald that he needed to come down.

At some point, deputies opened fire.

Authorities have not described what prompted the gunfire. They also haven’t addressed whether Fitzgerald brandished a weapon at deputies or whether a gun was recovered.