If a writ of attachment has been levied on real property, as provided in part 4, and no proceedings have been taken in the action in which the attachment was issued for a period of 5 years, the clerk of court shall, upon application of the defendant or the record owner of such real property, issue a release of the attachment and a copy of such release shall be filed with the county clerk where the writ of attachment and notice thereof is filed and the county clerk shall file and index such release as any other releases of attachment.
§ 27-18-732, MCA