ALBANY – Two city teenagers have pleaded guilty to their roles in a shooting that wounded a toddler sleeping in a South End day care center – and will remain free on bail until they are sentenced.

Jarrell Howard, 17, and Bahkee Green, 18, admitted to second-degree weapon possession during  separate appearances before state Supreme Court Justice Thomas Breslin.

Howard, who pleaded guilty Tuesday, faces 10½ years in prison at his sentencing on April 14.  Green  faces seven years in prison at his sentencing on April 2. Both face five years of post-release supervision.

Earlier: Child, 3, hit by stray bullet in Albany’s South End

Churchill: When Albany children lie down to sleep

Both are free until their sentencings in the wake of the state’s bail reform, which requires judges to consider the least restrictive non-monetary conditions for defendants at bail hearings.

On July 18, Green and Howard, illegally possessed a loaded pistol near Teunis Street and Third Avenue, Albany County prosecutors said. They said the gun was fired and “bullets traveled though the exterior wall of a day care, striking a three-year-old child who was sleeping inside.”

The child survived. Howard was additionally charged with wiping away trace evidence from a vehicle used in the crime. And he was charged in connection with a July 2 shooting on Third Avenue. His guilty plea covers both cases.

The wounding of a child led to protests in the neighborhood and demands for greater public safety.