Mining law is the body of statutes, regulations, and common-law principles that governs the exploration, ownership, extraction, processing, and closure of mineral deposits within a given jurisdiction. It defines who holds rights to subsurface minerals (the state, a private landowner, or a separate mineral-rights holder), establishes the process by which companies obtain exploration and mining titles, and sets out obligations relating to royalties, taxation, environmental protection, land rehabilitation, indigenous or community consultation, and worker safety. In bauxite-producing countries such as Guinea or Jamaica, mining law often includes specific provisions on bauxite export quotas and local refining requirements. In gold and diamond mining jurisdictions such as South Africa or Botswana, mining law frequently incorporates beneficiation and local-content requirements, while iron ore-rich nations like Australia and Brazil layer state and federal mining codes together. Mining law also governs dispute resolution between operators, landowners, and governments, and increasingly addresses artisanal and small-scale mining, free, prior and informed consent for affected communities, and the transition of mine sites back to other land uses after closure.