A person who has been served in good faith with a subpoena to attend as a witness before a court, judge, referee, or other official is exonerated from arrest in a civil action while going to the place of attendance, necessarily remaining there, and returning from there. The arrest of a witness contrary to this section is void, and when wilfully made is a contempt of court. The officer wilfully making it is responsible to the witness arrested for double the amount of damages that may be assessed against the witness, and is also liable to an action at the suit of the party serving the witness with the subpoena for the damages sustained by the party in consequence of the arrest.
AS 09.20.150