SAN FRANCISCO (CBS SF) — A San Francisco Superior Court judge Wednesday agreed to reduce a felony child endangerment/abuse charge to a misdemeanor for a former Mission District elementary school teacher accused of dangling a student from a second-floor balcony last December.

Andres Tobar, a former teacher at Marshall Elementary School, was allegedly seen cradling the student and holding them over the balcony on Dec. 19 at the school located at 1575 15th St.

READ MORE: Police Searching For Missing Belmont Teen With Mental Health Issues

Tobar’s defense attorney, Deputy Public Defender Vilaska Nguyen, has described the alleged incident as a “playful mistake” and an “isolated incident that snowballed” and previously asked that Judge Stephen Murphy reduce the felony charge or dismiss it entirely.

Wednesday morning, dozens of Tobar’s supporters, wearing shirts that read “Justice 4 Mr. Tobar,” rallied outside the Hall of Justice after the hearing and cheered Murphy’s decision.

“They were relieved,” Nguyen said of Tobar and his family. “Yet at the same time, the gravity of a criminal case is still hanging over their head. They’re still worried about the ultimate outcome.”

“What my client is really worried about is being able to teach again,” Nguyen said.

READ MORE: COVID: FDA Expected To Authorize Mixing Moderna, Johnson & Johnson Booster Shots

Tobar has worked for the San Francisco Unified School District for 21 years, Nguyen said.

After an investigation into the allegations, Tobar turned himself in to police on Jan. 30 and he was placed on administrative leave by the school district.

According to Gentle Blythe, school district spokeswoman, Tobar resigned from the district on March 1.

Tobar is set to appear again in court on May 9 in connection with the misdemeanor child endangerment/abuse charge.

MORE NEWS: UPDATE: Mystery Hero Rescues Man Trapped In Burning Building In San Francisco

© Copyright 2018 CBS Broadcasting Inc. and Bay City News Service. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.