Malaysia became part of the British Empire after the 18th century .
Malaysia has its origins in the Malay kingdoms present in the area which , from the 19th century , became subject to the British Empire .
Malaysia