What does "rehabilitate" mean?

Rehabilitate: To invest or clothe again with some right, authority, or dignity; to restore to a former capacity; to reinstate; to qualify again; to restore, as a delinquent, to a former right, rank, or privilege lost or forfeited; -- a term of civil and canon law. Restoring and rehabilitating the party. Burke.

Sources