Melaka City, formerly known as Malacca City, is the capital of the Malaysian state of Melaka.