A person aggrieved by an unlawful search and seizure may move the circuit court for the county in which the property was seized for the return of the property on the ground that he is entitled to lawful possession of the property which was illegally seized. The court shall receive evidence on any issue of fact necessary to the decision of the motion. If the motion is granted the property shall be restored and it shall not be admissible in evidence at any hearing or trial. If a motion for return of property is made or comes on for hearing in the county of the trial after an indictment or information is filed, it shall be treated also as a motion to suppress under chapter 23A-8.
SDCL 23A-35-11