Grain contained in a warehouse, including grain owned by the warehouseman, is subject to a first priority lien for outstanding receiptholders storing, selling, or depositing grain in the warehouse. The lien created under this section is preferred to any lien or security interest for any creditor of the warehouseman regardless of the time when the creditor's lien or security interest attached to the grain. Notice of the lien created under this section need not be filed to perfect the lien. The lien created by this section is discharged as to grain sold by the warehouseman to a buyer in the ordinary course of business. The sale does not discharge the lien for an individual receiptholder in the remaining grain in the warehouse.
N.D.C.C. § 4.1-58-28