People arrive to the Allegheny County Courthouse prior to the start of the second day of the homicide trial of former East Pittsburgh police officer Michael Rosfeld, Wednesday, March 20, 2019, in Pittsburgh. Rosfeld, 30, faces a charge of criminal homicide for the June 2018 death of 17-year-old unarmed black high school student Antwon Rose II. (Nate Smallwood/Pittsburgh Tribune-Review via AP, Pool)

PITTSBURGH (AP) — A witness in the shooting of an unarmed black teenager by a white police officer said Wednesday he saw the officer standing on the sidewalk, panicking, saying, "I don't know why I shot him. I don't know why I fired."

The trial of former East Pittsburgh Police Officer Michael Rosfeld ended for the day Wednesday in a Pittsburgh courtroom. It will reconvene Thursday morning.

John Leach, a neighbor who lives a few houses from the site of the June shooting, said he was on his front porch when Rosfeld fired three bullets into 17-year-old Antwon Rose II after pulling over an unlicensed taxicab suspected to have been used in a drive-by shooting minutes earlier. Rose was a front-seat passenger in the cab and was shot as he fled.

Rosfeld, 30, faces a charge of criminal homicide.

Leach, the second witness to testify Wednesday, said that after the shooting, he was watching Rosfeld on the sidewalk nearby saying repeatedly, "I don't know why I shot him. I don't know why I fired."

He said that later, he saw other officers consoling Rosfeld as he was crying, bent over and hyperventilating. Rosfeld, he said, looked as if he was about to pass out.

Defense attorney Patrick Thomassey had tried to discredit Leach's testimony, asking him if he was trying to "juice things up." Leach said, "I don't have any reason to."

Patrick Shattuck said Wednesday he was standing outside a senior center when Rosfeld pulled over the unlicensed cab in front of the building. Five to seven minutes after the shooting, Shattuck said Rosfeld, with swollen, red eyes, entered the building and said, "Why did he do that? Why did he do that? Why did he take that out of his pocket?"

East Pittsburgh Mayor Louis J. Payne, who was also there, said he, too, heard Rosfeld say, "Why did he do that?" but said he didn't hear the comment about the pocket.

Rosfeld was in the senior center only a few minutes when another officer came in and told him he couldn't be there. Rosfeld left, taking with him a rifle he had brought inside, Shattuck said.

Thomassey said Rosfeld did not intend to shoot anyone that day and did nothing wrong in his fatal encounter with Rose.

"You think Michael Rosfeld got up on the 19th of June and thought he was going to shoot someone? Of course not," he said.

Allegheny County Housing Authority officer Charles Rozzo, who responded to the shooting, testified that a distraught Rosfeld asked him how Rose was and if he "saw the gun." It's unclear what Rosfeld was referring to. Prosecutors said Rosfeld gave inconsistent statements about the shooting, including whether he thought Rose had a gun.

Authorities have said two guns were inside the vehicle and an empty magazine was in his pocket. One of the guns had Rose's DNA on it but does not appear to have been fired officials said.

The video of the shooting, recorded by neighbor Lashaun Livingston, was posted online, triggering protests in the Pittsburgh area last year, including a late-night march that shut down a major highway.

A jury of six men and six women, including three African-Americans, was selected across the state in Harrisburg last week and will be sequestered in a Pittsburgh hotel for the duration of the trial, expected to take a week or more.

Additional video was shown in court, taken by a University of Pittsburgh student who was in his car at a stop sign nearby. Peyton Deri said he couldn't really see whether there was anything in the hands of Rose or the vehicle's other occupant, Zaijuan Hester.

Rose's mother sent a letter to prosecutors Wednesday urging them to counter the defense's portrayal of her son as "just another thug." In the letter, she asks prosecutors to paint a picture of her son as he truly was.

"He was a rose that grew from concrete. Despite darkness all around him, he was kind, loving and funny," she wrote in the letter dated Tuesday.

She describes how he taught other children in the neighborhood how to Rollerblade and skateboard, and even gave away his skates to kids in need.

Rose had been riding in the front seat of the unlicensed taxi when Hester, in the backseat, rolled down a window and shot at two men on the street.

Hester, 18, of Swissvale, pleaded guilty Friday to aggravated assault and firearms violations for the shooting, which wounded a man in the abdomen. Hester told a judge that he, not Rose, did the shooting.

Passers-by looks at a memorial display with a drawing of Antwon Rose II in front of the Allegheny County courthouse on the second day of the trial for Michael Rosfeld, a former police officer in East Pittsburgh, Pa., Wednesday, March 20, 2019. Rosfeld is charged with homicide in the fatal shooting of Antwon Rose II as he fled during a traffic stop on June 19, 2018. (AP Photo/Gene J. Puskar)
A Pittsburgh public works trucks block traffic on Grant St. in front of the Allegheny County Courthouse on the second day of the trial for Michael Rosfeld, a former police officer in East Pittsburgh, Pa., Wednesday, March 20, 2019. Rosfeld is charged with homicide in the fatal shooting of Antwon Rose II as he fled during a traffic stop on June 19, 2018.(AP Photo/Gene J. Puskar)
Attorney S. Lee Merritt speaks to reporters after court let out for the day on the first day of the homicide trial of former East Pittsburgh police officer Michael Rosfeld, at the Allegheny County Courthouse Tuesday, March 19, 2019, in Pittsburgh. A prosecutor urged jurors Tuesday to focus on the white police officer's frame of mind when he shot and killed Antwon Rose II, an unarmed black teenager near Pittsburgh last summer. (Alexandra Wimley/Pittsburgh Post-Gazette via AP, Pool)
Michael Rosfeld's attorney, Patrick Thomassey, waves to an acquaintance inside Allegheny County Courthouse on a lunch break during the homicide trial of Rosfelt, the former East Pittsburgh police officer, Wednesday, March 20, 2019, Pittsburgh. Rosfeld, 30, faces a charge of criminal homicide for the June 2018 death of 17-year-old unarmed black high school student Antwon Rose II. (Nate Smallwood//Pittsburgh Tribune-Review via AP, Pool)
Michelle Kenney, right, mother of Antwon Rose II, and family attorney, S. Lee Merritt, left, walk toward the courtroom prior to the start of the second day of the homicide trial of former East Pittsburgh police officer Michael Rosfeld, Wednesday, March 20, 2019, at the Allegheny County Courthouse in Pittsburgh. Rosfeld is charged with homicide in the fatal shooting of Antwon Rose II as he fled during a traffic stop on June 19, 2018. (Nate Smallwood//Pittsburgh Tribune-Review via AP, Pool)
Michelle Kenney, center, the mother of Antwon Rose II, arrives at the Allegheny County Courthouse with supporters on the second day of the trial for Michael Rosfeld, a former police officer in East Pittsburgh, Pa., Wednesday, March 20, 2019.  Rosfeld is charged with homicide in the fatal shooting of Antwon Rose II as he fled during a traffic stop on June 19, 2018.(AP Photo/Gene J. Puskar)
Kyra Jamison, the sister of Antwon Rose II, enters the Allegheny County Courthouse on the second day of the trial for Michael Rosfeld, a former police officer in East Pittsburgh, Pa., Wednesday, March 20, 2019. Rosfeld is charged with homicide in the fatal shooting of Antwon Rose II as he fled during a traffic stop on June 19, 2018.  (AP Photo/Gene J. Puskar)
Michelle Kenney, center, the mother of Antwon Rose II, leaves the Allegheny County Courthouse with supporters after testimony on the first day of the trial for Michael Rosfeld, a former police officer in East Pittsburgh, Pa., on Tuesday, March 19, 2019, in Pittsburgh. Rosfeld is charged with homicide in the fatal shooting of Antwon Rose II as he fled during a traffic stop on June 19, 2018. (AP Photo/Keith Srakocic)