Langkasuka (-langkha Sanskrit for "resplendent land" -sukkha for "bliss") was an ancient Hindu Malay kingdom located in the Malay Peninsula. Another possible source of its name could be the combination of (-langkha Sanskrit for "resplendent land" - and Asoka in tribute to the legendary Mauryan Hindu warrior king who eventually became a pacifist after embracing the ideals espoused in Buddhism), the ancient kingdoms of the Malay Isthmus - Langkasuka having been one of them - believed by some scholars to have been first founded or rebuilt by emissaries or descendants of Asoka from Magadha in India.
The kingdom along with Old Kedah are probably among the earliest kingdoms founded on the Malay Peninsula. According to tradition the founding of the kingdom happened in the 2nd century. Malay legends claim that Langkasuka was founded at Kedah, and later moved to Pattani.