This was the stormtrooper they were searching for.

It required over three weeks yet on Saturday a 3-foot stormtrooper figure from “Star Wars” discovered its way back to the Long Island store where it had been taken — with a little assistance from the Suffolk County police and the public.

The figure was situated in a home in Wyandanch, store proprietor Richard McWilliams told the media Saturday evening. The individual at the home had obviously purchased the statue not understanding it was taken and surrendered it to police.

“I’m unquestionably astonished,” McWilliams said. “I didn’t anticipate getting him back. I surmise he got away. Furthermore, who can say for sure what he saw throughout the most recent couple of weeks?”

Carissa Savillo, 34, address obscure, was captured for taking the statue and accused of Petit Larceny, Suffolk County police said Saturday.

The figure was taken April 1 from the front of the Blast from the Past retro video game store where it had been in plain view, as indicated by McWilliams and the police.

Reconnaissance from the store on West Main Street showed two ladies wandering off with the 3-foot Star Wars figure on April 1.

McWilliams said he and the cops got a great deal of tips from the public, at any rate one of which assisted police with finding the statue and capture Savillo.