If judgment is against the defendant and at the time thereof he is in possession of the property by reason of the redelivery bond, the judgment shall be against the defendant and the sureties on his bond for the value of the property, the damages for its detention and costs, and for the return of the property to the plaintiff at a time and place therein named, and upon the same terms and conditions the plaintiff shall be given the same election as is given heretofore in this article to a prevailing defendant.
A.R.S. § 12-1310