Liens created.
Any agister shall have a lien upon the horses, mules, cattle, or sheep, and upon the proceeds or accounts receivable from such animals, for such amount that may be due for the feeding, herding, pasturing, training, caring for, and ranching of the animals, and shall be authorized to retain possession of the horses, mules, cattle, or sheep, until the amount is paid or the lien expires, whichever first occurs. The lien attaches on the date such amounts are due and payable but are unpaid.