the iwami area was split into 3 clans. the mining district was under direct control of the shogunate. the hamada clan and the tsuwano clan each controlled their own areas. iwami ginzan produced silver and was one of the nation's largest silver mine by the early 17th century. the hamada clan was on the shogunate's side in the meiji restoration, and the castle was burned down. the tsuwano clan, despite the matsudaira (relative of the shogun) rule was on the emperor's side in the restoration.