Ipoh is the state capital of Perak, on the west coast of peninsular Malaysia. Ipoh developed into one of Malaysia's main cities due to the booming tin mining industry around the turn of the 19th century. During the British colonial era, Ipoh was Malaysia's second city for administration purposes.