MILWAUKEE (Reuters) - Donald Trump selected J.D. Vance, a Republican U.S. senator from Ohio, as his running mate on Monday, elevating a politician who once criticized the former president in acid terms but has since become one of his most stalwart defenders.

The news, carried on Trump's Truth Social media website, emerged at the start of the four-day Republican National Convention in Milwaukee to nominate the party's presidential ticket.

The selection of James David Vance, author of the bestselling memoir "Hillbilly Elegy," could increase the odds of Trump supporters turning out for the Nov. 5 election as the Ohio native is deeply popular with the Republican candidate's base.

A staunch conservative from a Republican state, Vance is unlikely to bring many new voters into Trump's corner, however, and may even alienate some moderates. Some Trump supporters had pushed him to select a woman or person of color as his No. 2 to expand a coalition that skews toward white men.

The former president, 78, survived an assassination attempt at a Pennsylvania campaign rally on Saturday by a gunman whose motive remains unknown.

Several of Trump's highest-profile backers - including former senior adviser Steve Bannon and Trump's eldest son, Donald Trump Jr. - have praised Vance for pushing the Republican Party to embrace a more hands-off foreign policy approach and for supporting trade barriers.

Vance has also delighted Trump supporters with his confrontational social media presence, a relative rarity in the Senate, where many lawmakers still try to maintain a sense of decorum and civility.

At 39, Vance will represent a younger generation in an election that features Trump and President Joe Biden, 81, bringing a counterweight to the Democratic ticket that also includes Vice President Kamala Harris, 59.

In selecting Vance, Trump passed over other possible contenders such including U.S. Senators Marco Rubio and Tim Scott and North Dakota Governor Doug Burgum.

Vance's rapid ascent has been unusual for American politics. After a troubled and impoverished childhood in southern Ohio, he served in the Marine Corps, won a scholarship to Yale Law School and later worked as a venture capitalist in San Francisco.

He rose to prominence after 2016 when he wrote "Hillbilly Elegy," in which he explored the socioeconomic problems confronting his hometown and the cycle of poverty that had entrapped Americans in the Appalachian Mountains, where his mother and her family had their origins.

The book criticized what Vance saw as a self-destructive culture in rural America and sought to explain Trump's popularity among impoverished white Americans.

Vance himself was harshly critical of Trump before and after Trump's 2016 election win against Democratic presidential nominee Hillary Clinton, calling him an "idiot" and "America's Hitler," among other epithets.

But as Vance geared up to run for the U.S. Senate in Ohio in 2022, he transformed into one of the former president's most consistent defenders, supporting Trump even when some Senate colleagues declined to do so.

Vance has played down the Jan. 6, 2021, attack on the U.S. Capitol. He said he "doubted" Mike Pence's life was in danger, despite violent protesters getting within yards of the former vice president as Secret Service agents rushed him out of the Capitol building. Vance has also echoed Trump's criticisms of the way the Justice Department has prosecuted Jan. 6 rioters, accusing the department of disregarding due process protections.

In February, he declined to criticize Trump for encouraging Russian President Vladimir Putin to attack America's NATO allies if they failed to increase their defense spending.

While the Republican Party historically stood for free markets and embraced foreign intervention as an important national security tool, Trump's 2016 election opened up significant rifts within the party. Vance has been one of the most vocal opponents of continued aid to Ukraine in the Senate, a stance at odds with many Republican legislative leaders.

On the campaign trail, the former venture capitalist has also served as a bridge between Trump associates and wealthy Silicon Valley donors, many of whom have opened their wallets to Trump this election.

Still, Vance's selection has its detractors among Trump associates, notably those who had wanted Trump to select a diverse vice presidential candidate. Though Trump and Biden are virtually tied in most national polls, Trump trails the Democratic president by significant margins among women and Black Americans.

Some Trump associates privately questioned whether it would be wise to take Vance out of the Senate with Democrats and Republicans vying for control of the upper chamber. Democrats hold a one-seat advantage, though they are likely to lose ground in the November election.

Ohio, while safely Republican in presidential elections, does occasionally elect Democrats in other races. Vance won his 2022 election by six percentage points.

(Reporting by Gram Slattery; Editing by Colleen Jenkins, Alistair Bell and Howard Goller)

By Gram Slattery