CNN  — 

A Washington state teen has pleaded guilty to reckless endangerment after pushing her friend off a bridge into a river.

Tay’lor Smith, 19, pleaded guilty in a Clark County court Monday, an assistant to Judge Darvin J. Zimmerman said. She had previously pleaded not guilty in September, CNN affiliate KPTV reported.

Judge Darvin J. Zimmerman also ordered her to serve for 38 days on a work crew and prohibited her from having contact with her friend for the next two years.

She will also be placed on supervised probation until she meets the requirements of her sentence, Zimmerman said.

She pleaded guilty to a misdemeanor count of reckless endangerment last week.

Video of Smith pushing 16-year-old Jordan Holgerson off the Moulton Falls Bridge last summer went viral. The footage shows Jordan flailing and screaming as she plunges about 60 feet into the East Fork Lewis River.

The fall broke four of Jordan’s ribs and damaged a lung. Doctors said the fall could have been fatal.

After Wednesday’s hearing, Smith broke into tears as a sheriff’s deputy placed her in handcuffs and escorted her out of the courtroom.

CNN’s Holly Yan contributed to this report.