The history of the Malay world in the eighteenth century is characterised by a constantly shifting balance of power, extreme flexibility in the political patterns, and an ongoing search for strong friends and advantageous allies. Malay and European sources relating to the period contain an often overwhelming amount of information concerning seemingly endless conspiracies, broken treaties, negotiations, and re-alignments. Yet from this maze of detail distinct themes emerge, one of which concerns the activities of various Malay anak raja (sons of kings and pirates) and anak baik (sons of nobles). Existing material allows for the compilation of a number of interesting biographies. We can, for instance, follow the career of Perak's Raja 'Alim, who might have successfully unseated his cousin and become ruler himself had it not been for Dutch intervention. The wandering life led by a Siak prince, Raja Ismail, and his unceasing efforts to rally support for a triumphant return to his homeland are similarly described in both Malay chronicles and the missives of Dutch governors. Such accounts make for absorbing reading and undoubtedly have their own intrinsic historical value. On the other hand, it is perhaps more fruitful to regard anak raja like Raja 'Alim and Raja Ismail not so much as individuals as representatives of a distinct social category within what has been called the “ruling class.” If viewed in this light, the activities of many anak raja mentioned in the records take on a new dimension, and comments concerning their role in Malay history assume a wider application.