The Missouri attorney general, Andrew Bailey, won the primary election on Tuesday to be Republican Party’s candidate for attorney general in the November general election, The Associated Press said.Mr. Bailey, who was appointed by Gov. Mike Parson in 2022, now seeks a full four-year term in a post has been a steppingstone for his predecessors, Eric Schmitt and Josh Hawley, both of whom are sitting U.S. senators.In his 19 months as the state’s attorney general, Mr. Bailey has plunged the office into heated legal and political fights. He has sought to keep prisoners locked up after their exonerations, withheld approval of a ballot initiative to restore abortion rights, and tried to restrict gender-affirming health care for adults and children. He also tried to sue New York State over its criminal prosecution of former President Donald J. Trump and mounted legal challenges to President Biden’s policies on student loan forgiveness, immigration, gun regulation and other issues.Even so, Mr. Bailey spent much of the primary race jockeying with his opponent, Will Scharf, over who was more loyal to Mr. Trump. Mr. Scharf is one of Mr. Trump’s lawyers, appearing before the Supreme Court on his behalf in the presidential immunity case that was decided in Mr. Trump’s favor last month. Mr. Trump endorsed both candidates, saying on his social media platform, Truth Social, “Both have fearlessly confronted the Radical Left’s destructive Lawfare and Weaponization of ‘Justice’ with Great Wisdom, Courage, and Strength!”Mr. Bailey, who Mr. Scharf has accused of being soft on crime, routinely opposed efforts by prisoners to prove their innocence or to leave prison once they had done so. This summer he delayed the release of two exonerated prisoners, Sandra Hemme and Christopher Dunn, and sought unsuccessfully to block a hearing on DNA evidence that pointed to the innocence of a death row prisoner, Marcellus Williams, who is scheduled for execution in September.Mr. Bailey, 43, grew up in Missouri and earned his undergraduate and law degrees at the University of Missouri. Mr. Scharf, 38, is from New York and is a graduate of Princeton and Harvard Law School. A clerkship for a federal judge brought him to Missouri.Neither candidate had previously run for office.Mr. Bailey will face Elad Gross, a Democrat, who ran unopposed in his party’s primary. More