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.