sentence: thailand controlled the malay peninsula as far as malacca in the 1400s and held much of the peninsula , including temasek ( singapore ) some of the andaman islands and a colony on java , but eventually failed when the british used force to guarantee their suzerainty over the sultanate .