Naning was previously part of Negeri Sembilan but it was later annexed by the British into Malacca in 1832 via the Naning War.