The force wasn’t with this Chewbacca, who was arrested by Ukrainian cops for illegally campaigning for a write-in mayoral candidate — Darth Vader.

The man — in full costume as the furry “Star Wars” character — was captured on video Sunday struggling with cops as they busted him near a polling station in Odessa. The fiesty Wookiee wriggles out of their hands before four pin him against a police van.

“Leave me alone,” he yells. “The hand is hurt, f- -k.”

With a crowd gathering, the cops struggle to cuff his furry wrists as he continues struggling.

Chewie was taken to court — still in costume — for campaigning on an election day and for failing to produce a valid ID. He was fined the equivalent of $5.32.

Ukranian police posted a statement, along with a photo of the bust, on its Instagram account.

“Nothing unusual here, just Chewbacca detained for being without documents while driving Darth Vader to the elections in Odessa,” it said. “The Sith Lord has already claimed this was illegal as Chewbacca is his pet and general servant and thus does not require documents.”

Results are not expected for a few days, but Ukrainian news outlets were reporting the election went to the dark side.

“Emperor Palpatine,” Vader’s mentor, was said to have gotten more than 54 percent of the votes in a council election.

“Palpatine” and “Darth Vader,” are part of the Internet Party of Ukraine, a political party that has been growing over the years.