A Miami teenager who made national
headlines for flipping off a judge was released from jail Friday after
she tearfully apologized for her actions.

Penelope Soto, 18, apologized before
Circuit Judge Jorge Rodriguez-Chomat, saying she was under the influence of Xanax and alcohol when she made the obscene gesture. Video of the confrontation went viral online.

'I apologize not only to the court and you, but to my family,' Soto told the judge with tears in her eyes, WSVN.com reported.

Scroll down for video

Penelope Soto, 18, who made national headlines for flipping off a judge was released from jail Friday after she tearfully apologized for her actions

Soto apologized before Circuit Judge Jorge Rodriguez-Chomat, saying she was under the influence of Xanax and alcohol when she made the obscene gesture

Rodriguez-Chomat dropped her 30-day jail sentence following her apology.

Soto was
appearing in court the first time after she was arrested for drug
possession. After her bond was set at $10,000, she made the offensive
gesture to Rodriguez-Chomat.

As a result, she was hauled back in front of the judge and given a jail sentence for contempt of court.