Validity of Power of Attorney

When we give Power of Attorney to a broker to debit shares from our account, is it for lifetime or some specific time period, say 5 years.

The Demat PoA is valid until you revoke it or close the demat account.

Copied from the attached article