The Sejarah Melayu consists of a collection of stories, not historically connected, focusing on the activities of the Malaccan sultans, their courts, and government officials. In addition, foreign rulers were also described, as were Malacca's foreign relations and its importance as a regional trading centre.