Does word "term" have the same meaning in the following two sentences?

A prison term.

The term allowed to a debtor to discharge his debt.

OPTIONS:
- different meanings
- the same meaning
the same meaning
Har ordet "term" samma betydelse i följande två meningar? En fängelseperiod. Termen tillät en gäldenär att avskriva sin skuld. Alternativ: - olika betydelser - samma betydelse
Does the word "term" have the same meaning in the following two sentences? A prison term. The term allowed a debtor to cancel his debt. Option: - different meanings - same meaning
samma betydelse
the same meaning