CHARLESTON, S.C. (AP) — Nikki Haley, the former South Carolina governor and United Nations ambassador, announced her candidacy for president on Tuesday, becoming the first major challenger to former President Donald Trump for the 2024 Republican nomination.

The announcement, delivered in a video, marks an about-face for the ex-Trump Cabinet official, who said two years ago that she wouldn’t challenge her former boss for the White House in 2024. But she changed her mind in recent months, citing, among other things, the country’s economic troubles and the need for “generational change,” a nod to the 76-year-old Trump’s age.

Haley, 51, is the first in a long line of Republicans who are expected to launch 2024 campaigns in the coming months. Among them are Florida Gov. Ron DeSantis, former Vice President Mike Pence, former Secretary of State Mike Pompeo and Sen. Tim Scott of South Carolina.

President Joe Biden has said he intends to seek reelection in 2024, stalling any jostling for the Democratic nomination.

Haley has regularly boasted about her track record of defying political expectations, saying, “I’ve never lost an election, and I’m not going to start now.”

If elected, Haley would be the nation’s first female president and the first U.S. president of Indian descent.

The daughter of Indian immigrants, Haley grew up enduring racist taunts in a small South Carolina town and has long referenced that impact on her personal and political arc.

She was an accountant when she launched her first bid for public office, defeating the longest-serving member of the South Carolina House in 2004. Three terms later and with little statewide recognition, Haley mounted a long-shot campaign for governor against a large field of experienced politicians.

She racked up a number of high-profile endorsements, including from the sitting South Carolina governor, Mark Sanford, and former Alaska Gov. Sarah Palin, a tea party darling.

With her 2010 victory, Haley became South Carolina’s first female and minority governor — and the nation’s youngest at 38. She earned a speaking slot at the 2012 Republican National Convention and gave the GOP response to President Barack Obama’s State of the Union in 2016.

Copyright 2024 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.

Join our Newsletter for the latest news right to your inbox