3. The legal framework