The Malayan Chronicles is a literary work that presents a romanticized history in legendary tales about the origins of the Malayan kings and sultans. It then recounts the rise and fall of the great Malayan maritime empire, known as the Sultanate of Malacca, at the hands of Portuguese invaders at the beginning of the 16th century. This book is one of the finest literary and historical works in the Malay language and literature, if not the finest. The oldest known manuscript dates back to 1612. It is not only a literary achievement but also a treatise on the art of governance in ancient kingdoms, outlining the formal pact between the ruler (Raja), who promises not to bring shame upon his subjects, and his people, who pledge never to betray him or become "Durhaka," meaning "rebels." The Malayan Chronicles is primarily a collection of folk tales and anecdotes from bygone eras, rather than a purely historical work, although it contains a wealth of historical material. The book is written in an epic literary style bordering on magical poetry, as seen in the original manuscripts in Old Malay, which were written in the ancient Javanese script. The historical manuscripts of the "Malay Records" were inscribed on UNESCO's Memory of the World Register in 2001.