legalisation

noun
  1. the process of making something legal or lawful; the act of giving legal status or authorization to something previously illegal or unregulated
  2. Usage: British English spelling; American English uses 'legalization'; commonly used in political and legal contexts

Examples