On Twitter a few seconds later, Clinton described Kaine as “a man who’s devoted his life to fighting for others.”

Kaine himself tweeted, “I’m honored to be her running mate.” The two will make their first appearance together as running mates Saturday at a rally in Miami.

Clinton’s decision caps a highly secretive, months-long process to find a political partner. It’s also the final puzzle piece for the general election, pitting Clinton and Kaine against Republican Donald Trump and running mate Mike Pence, the Indiana governor.

Clinton called Kaine by phone around 7:30 p.m. Friday to offer him the job, and he accepted, according to a campaign aide. She then called President Barack Obama to inform him of the decision.

Kaine, 58, had long been a favorite for Clinton’s ticket. Active in the Senate on foreign relations and military affairs, he built a reputation for working across the aisle as Virginia’s governor and as mayor of Richmond. He’s also fluent in Spanish, which could help the campaign appeal to many Hispanic Americans who have been turned off by Trump’s harsh rhetoric about immigrants.

Clinton was weighing two finalists: Kaine and Agriculture Secretary Tom Vilsack, a longtime friend of the candidate and former President Bill Clinton. Kaine’s strong ties to politically important Virginia, as well as his foreign policy experience put him over the top, according to a person close to the campaign, who insisted on anonymity because the person was not authorized to discuss the process publicly.

Kaine and Vilsack each had friends and allies lobbying the Clinton campaign on their behalf. But Kaine had a particularly powerful backer: Obama, who told the campaign during the selection process that he believed the senator would be a strong choose.

Trump, in a text to his own supporters, said Obama, Hillary and Kaine were “the ultimate insiders” and implored voters to not “let Obama have a 3rd term.”

Kaine is viewed skeptically by some liberals in the Democratic Party, who dislike his support of free trade and Wall Street. They pushed Clinton to pick Massachusetts Sen. Elizabeth Warren or Ohio Sen. Sherrod Brown, intensifying their criticism of Kaine late this week as his selection appeared imminent.

Stephanie Taylor, co-founder of the Progressive Change Campaign Committee, said Friday that Kaine’s support for the Trans-Pacific Partnership trade pact gives Republicans “a new opening to attack Democrats on this economic populist issue.”

Clinton’s campaign closely guarded the secrecy of the selection process, keeping the names of finalists under wraps to try to maximize the impact of the announcement. Clinton held two lengthy private meetings with Kaine, including a lunch at her New York home last Saturday with their spouses and children.

Clinton’s campaign teased the announcement throughout Friday, encouraging supporters to sign up for a text message alert to get the news — a favorite campaign method for getting contact information about voters. The Democratic candidate made no mention of her impending pick during a somber meeting with community leaders and family members affected by the Pulse nightclub shooting in Orlando and a later campaign rally in Tampa.

As Clinton finalized her decision, Trump met with supporters in Cleveland to run through a long list of thank-yous after his four-day convention.

But rather than stay focused on Clinton or reach out to the general election voters he now must court, the newly minted Republican nominee spent considerable time stoking the fire of his bitter quarrel with Republican former rival Ted Cruz. “Ted, stay home,” Trump said, dismissing any interest in an endorsement the Texas senator refuses to provide. “Relax. Enjoy yourself.”

Trump boasted of his TV ratings, his primary victories and other achievements, including winning over his wife, Melania, in a stream-of-consciousness delivery with Pence, standing quietly nearby.

“I don’t do anything unless I win,” Trump insisted. He promised to work “so hard” as the nominee and vowed his campaign was “not going to disappear,” even though he has no plans to campaign this weekend and no events on his schedule for next week.

No matter, perhaps, as that time will belong to Clinton and the Democrats, whose own convention begins Monday in Philadelphia. Kaine, who won election to the Senate in 2012 after serving as Obama’s first chairman of the Democratic National Committee, will likely speak in the slot reserved for the vice presidential pick on Wednesday night.

Before entering politics, Kaine was an attorney who specialized in civil rights and fair housing. He learned Spanish during a mission trip to Honduras while in law school, an experience he still references on the campaign trail. During his political career, he’s demonstrated an ability to woo voters across party lines, winning his 2006 gubernatorial race with support in both Democratic strongholds and traditionally Republican strongholds.

His wife, Anne Holton, is the daughter of a former Virginia governor, a former state judge and, currently, the state’s Education Secretary. The couple has three children.

Clinton’s plans to pick Kaine, hinted at for several days leading up her Friday announcement, had been viewed as a safe choice against the Republican ticket of Trump and Pence.

Some Democrats believe Trump’s selection of Pence, a conservative white man from a largely Republican state, freed Clinton from pressure to add another woman or a minority to her ticket. Her short list included Warren, two Latino cabinet secretaries and New Jersey Sen. Cory Booker, one of two black U.S. senators.

Democrats argue that Kaine could help her woo moderate and even some Republican voters turned off by Trump’s provocative rhetoric, which was at the center of his 75-minute Thursday night acceptance speech. Trump pledged to restore a sense of public safety, strictly curb immigration and save the nation from Clinton’s record of “death, destruction, terrorism and weakness.”

Kaine got some practice challenging Trump’s message when he campaigned with Clinton last week in northern Virginia, where he spoke briefly in Spanish and offered a strident assault on Trump’s White House credentials.

“Do you want a `you’re fired’ president or a `you’re hired’ president?” Kaine asked in Annandale, Virginia, as Clinton nodded. “Do you want a trash-talking president or a bridge-building president?”

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