LOS ANGELES, CALIFORNIA - AUGUST 06: Camila Cabello attends Variety
LOS ANGELES, CALIFORNIA - AUGUST 06: Camila Cabello attends Variety's Power of Young Hollywood at The H Club Los Angeles on August 06, 2019 in Los Angeles, California. (Photo by Rodin Eckenroth/Getty Images)
PHOTO: Rodin Eckenroth/Getty Images
Now playing
00:43
Camila Cabello apologizes for 'hurtful' language
LAS VEGAS, NV - SEPTEMBER 12:  Former Los Angeles Dodgers manager Tommy Lasorda attends Criss Angel
LAS VEGAS, NV - SEPTEMBER 12: Former Los Angeles Dodgers manager Tommy Lasorda attends Criss Angel's HELP (Heal Every Life Possible) charity event at the Luxor Hotel and Casino benefiting pediatric cancer research and treatment on September 12, 2016 in Las Vegas, Nevada. (Photo by Ethan Miller/Getty Images)
PHOTO: Ethan Miller/Getty Images
Now playing
02:40
Legendary Los Angeles Dodgers manager Tommy Lasorda dies
PHOTO: Republic Records
Now playing
00:55
The Weeknd reveals altered face in new music video
PHOTO: PBS Kids
Now playing
02:28
'Caillou' is canceled and parents are celebrating
LOS ANGELES, CA - JUNE 22:  Producer Dr. Dre arrives at the premiere screening of HBO
LOS ANGELES, CA - JUNE 22: Producer Dr. Dre arrives at the premiere screening of HBO's "The Defiant Ones" at Paramount Studios on June 22, 2017 in Los Angeles, California. (Photo by Kevin Winter/Getty Images)
PHOTO: Kevin Winter/Getty Images
Now playing
00:49
Dr. Dre says he's recovering in Los Angeles hospital
CULVER CITY, CA - APRIL 17:  Game show host Alex Trebek poses on the set of the "Jeopardy!" Million Dollar Celebrity Invitational Tournament Show Taping on April 17, 2010 in Culver City, California.  (Photo by Amanda Edwards/Getty Images)
CULVER CITY, CA - APRIL 17: Game show host Alex Trebek poses on the set of the "Jeopardy!" Million Dollar Celebrity Invitational Tournament Show Taping on April 17, 2010 in Culver City, California. (Photo by Amanda Edwards/Getty Images)
PHOTO: Amanda Edwards/Getty Images
Now playing
02:27
Alex Trebek shared message of kindess in final episodes
Now playing
01:12
Harry Styles' music video parodied by Jimmy Fallon, Chloe Fineman
PHOTO: United Artists
Now playing
01:15
Bond actress, Tanya Roberts, dies at 65
PHOTO: HLN/ one funny mommy
Now playing
03:21
Mom's quarantine comedy goes viral
New Year
New Year's Eve fireworks erupt over the Chao Phraya river during the fireworks show in Bangkok on January 1, 2021. (Photo by Mladen ANTONOV / AFP) (Photo by MLADEN ANTONOV/AFP via Getty Images)
PHOTO: Mladen Antonov/AFP/Getty Images
Now playing
01:36
The world finally says goodbye to 2020
Now playing
04:32
Andy Cohen and Snoop Dogg discuss places he has been high
Now playing
10:29
Anderson and Andy review hilarious moments from past NYE shows
PHOTO: Boston Dynamics
Now playing
02:23
These robots can boogie down better than most humans
PHOTO: The Graham Norton Show/YouTube
Now playing
01:05
Tom Hanks stuns audience with new look
LOS ANGELES, CALIFORNIA - JULY 25:  Sir Anthony Hopkins attends the LEAP Foundation on July 25, 2018 in Los Angeles, California.  (Photo by Greg Doherty/Getty Images)
LOS ANGELES, CALIFORNIA - JULY 25: Sir Anthony Hopkins attends the LEAP Foundation on July 25, 2018 in Los Angeles, California. (Photo by Greg Doherty/Getty Images)
PHOTO: Greg Doherty/Getty Images
Now playing
00:55
Hear Anthony Hopkins' inspiring message
PHOTO: Reuters
Now playing
01:38
This massage technique might not be for everybody
(CNN) —  

Popstar Camila Cabello has apologized for previously using “horrible and hurtful language” after racist social media posts she allegedly made as a teenager resurfaced online.

The “Señorita” singer said in a post on Twitter Wednesday that she was “deeply ashamed” of her past behavior, adding that she was “uneducated and ignorant.”

“When I was younger, I used language that I’m deeply ashamed of and will regret forever,” she told her 10.3 million followers.

“I was uneducated and ignorant and once I became aware of the history and the weight and the true meaning behind this horrible and hurtful language, I was deeply embarrassed I ever used it.

“I apologized then and I apologize again now.”

The 22-year-old star, who found fame with girl group Fifth Harmony in 2012 before going solo in 2016, has been accused of using racist remarks in now-deleted Tumblr posts.

In her apology, Cabello said she had matured in recent years and now regrets not knowing the impact her comments made.

“I’m an adult and I’ve grown and learned and am conscious and aware of the history and the pain it carries in a way I wasn’t before,” she said.

“Those mistakes don’t represent the person I am or a person I’ve ever been.

“I only stand and have ever stood for love and inclusivity, and my heart has never, even then, had any ounce of hate or divisiveness.”

The Grammy-nominated songstress concluded the lengthy apology by vowing to continue to use her social media as a platform to “speak out about injustice and inequality.”

“I can’t say enough how deeply sorry and ashamed I feel, and I apologize again from the bottom of my heart.”

Cabello’s posts come after a Twitter thread appeared to show comments made by her in Tumblr posts which have since been deleted.