legalize

verb
  1. to make something legal or lawful; to give legal status to something that was previously illegal

Examples