Maddie Ziegler has offered an apology for some old videos of her that have resurfaced online.

RELATED: Sia And Maddie Ziegler Perform New Song ‘Together’ From Home

In a post on Twitter, the dancer and actress apologizes for the videos, which were made when she was 9-years-old, and featured her mocking “people and accents.”

“I’m honestly ashamed and truly sorry for my actions,” Ziegler, who is now 17, wrote. “The decisions I made then are absolutely not decisions I would make today. What I thought was silly humous when I was younger I know was actually ignorant and racially insensitive. We have all made mistakes in our lives and as we grow up we educate ourselves and learn to be better people.”

She added, “I know some of you are just and may not accept my apology but I want to ask all of you to please be kind to each other on socials. There is no need to attack each other or try to defend me. I don’t want anyone to feel bullied and think we can all learn from my mistakes and spread the love during these times when we need it most.”

RELATED: Sia Says She Once Stopped Maddie Ziegler From Getting On A Plane With Harvey Weinstein: ‘That Was Really Disgusting’

On Twitter, a number of people defend Ziegler, pointing out the very young age she was when the videos were made.