The St. Tammany Parish district attorney’s race may be the highest-profile local election on the local ballot, but it hardly seems like the kind of contest that would draw the eye of Hollywood.

But Ian Somerhalder, smoldering star of the “The Vampire Diaries” and “Lost,” is a Covington native, and he’s weighing in on social media with a fulsome endorsement of Slidell attorney Alan Black. Black and three other candidates — Roy Burns, Warren Montgomery and Brian Trainor — are vying to replace Walter Reed, who is not in the race.

Somerhalder posted on a selfie on Instagram in which he holds a Black flyer in front of his famous visage. It is accompanied by an impassioned plea asking his fans in Washington and St. Tammany parishes to vote for Black.

“Just had an amazing powwow with an amazing guy running for District Attorney in my home district of St. Tammany and Washington Parish Louisiana named Alan Black,” Somerhalder posted in a rambling caption to the photo. “What makes this guy so awesome — why I think you’ll love him, is that he speaks the same language as so many of us — no, not just English but the language of youth, of community and sustainability.’’

Somerhalder said that he and Black had discussed cleaning up old patterns in the District Attorney’s Office. “I cannot wait to work with him TO help build these two beautiful parishes up and bring them out of corruption and darkness,” he wrote.

The television star fretted that the contest would get overlooked with all the attention focused on the senatorial race and asked young voters to get out and vote and talk to their parents.

With 121,000 “likes” on the post and more than 1,000 comments, he’s clearly grabbed some attention. But it isn’t clear how much of a bump the buzz will give the 56-year-old DA candidate. Many of the commenters seemed far more fixated on Somerhalder than on Black.

“My baby,” one gushed. “I love you so much,” said another, a sentiment repeated in various languages. “How can you be so sexy and so considerate,” one poster wondered, while another asked the eternal question: “Can I please, please be with him?”

Follow Sara Pagones on Twitter at @spagonesadvocat.