She died in 1688, having reigned something less than eleven years, and was succeeded by a young queen named Kamalat-shah; but this did not take place without a strong opposition from a faction amongst the orang kayas which wanted to set up a king, and a civil war actually commenced. The two parties drew up their forces on opposite sides of the river, and for two or three nights continued to fire at each other, but in the daytime followed their ordinary occupations. These opportunities of intercourse made them sensible of their mutual folly. They agreed to throw aside their arms and the crown remained in possession of the newly elected queen. It was said to have been esteemed essential that she should be a maiden, advanced in years, and connected by blood with the ancient royal line. In this reign an English factory, which had been long discontinued, was reestablished at Achin, but in the interval some private traders of this nation had always resided on the spot. These usually endeavoured to persuade the state that they represented the India Company, and sometimes acquired great influence, which they are accused of having employed in a manner not only detrimental to that body but to the interests of the merchants of India in general by monopolizing the trade of the port, throwing impediments in the way of all shipping not consigned to their management, and embezzling the cargoes of such as were. An asylum was also afforded, beyond the reach of law, for all persons whose crimes or debts induced them to fly from the several European settlements. These considerations chiefly made the Company resolve to reclaim their ancient privileges in that kingdom, and a deputation was sent from the presidency of Madras in the year 1695 for that purpose, with letters addressed to her illustrious majesty the queen of Achin, desiring permission to settle on the terms her predecessors had granted to them; which was readily complied with, and a factory, but on a very limited scale, was established accordingly, but soon declined and disappeared. In 1704, when Charles Lockyer (whose account of his voyage, containing a particular description of this place, was published in 1711) visited Achin, one of these independent factors, named Francis Delton, carried on a flourishing trade. In 1695 the Achinese were alarmed by the arrival of six sail of Dutch ships of force, with a number of troops on board, in their road, not having been visited by any of that nation for fifteen years, but they departed without offering any molestation.
1699.
This queen was deposed by her subjects (whose grounds of complaint are not stated) about the latter part of the year 1699, after reigning also eleven years; and with her terminated the female dynasty, which, during its continuance of about fifty-nine years, had attracted much notice in Europe.
Her successor was named Beder al-alum sherif Hasham, the nature of whose pretensions to the crown does not positively appear, but there is reason to believe that he was her brother. When he had reigned a little more than two years it pleased God (as the Annals express it) to afflict him with a distemper which caused his feet and hands to contract (probably the gout) and disqualified him for the performance of his religious duties.
1702.
Under these circumstances he was induced to resign the government in 1702, and died about a month after his abdication.
Perkasa-alum, a priest, found means by his intrigues to acquire the sovereignty, and one of his first acts was to attempt imposing certain duties on the merchandise imported by English traders, who had been indulged with an exemption from all port charges excepting the established complimentary presents upon their arrival and receiving the chap or licence. This had been stipulated in the treaty made by Sir James Lancaster, and renewed by Mr. Grey when chief of the Company's factory. The innovation excited an alarm and determined opposition on the part of the masters of ships then at the place, and they proceeded (under the conduct of Captain Alexander Hamilton, who published an account of his voyage in 1727) to the very unwarrantable step of commencing hostilities by firing upon the villages situated near the mouth of the river, and cutting off from the city all supplies of provisions by sea. The inhabitants, feeling severely the effects of these violent measures, grew clamorous against the government, which was soon obliged to restore to these insolent traders the privileges for which they contended.
1704.
Advantage was taken of the public discontents to raise an insurrection in favour of the nephew of the late queen, or, according to the Annals, the son of Beder al-alum (who was probably her brother), in the event of which Perkasa-alum was deposed about the commencement of the year 1704, and after an interregnum or anarchy of three months continuance, the young prince obtained possession of the throne, by the name of Jemal al-alum. From this period the native writers furnish very ample details of the transactions of the Achinese government, as well as of the general state of the country, whose prosperous circumstances during the early part of this king's reign are strongly contrasted with the misery and insignificance to which it was reduced by subsequent events. The causes and progress of this political decline cannot be more satisfactorily set forth than in a faithful translation of the Malayan narrative which was drawn up, or extracted from a larger work, for my use, and is distinct from the Annals already mentioned:
When raja Jemal al-alum reigned in Achin the country was exceedingly populous, the nobles had large possessions, the merchants were numerous and opulent, the judgments of the king were just, and no man could experience the severity of punishment but through his own fault. In those days the king could not trade on his own account, the nobles having combined to prevent it; but the accustomed duties of the port were considered as his revenue, and ten per cent was levied for this purpose upon all merchandise coming into the country. The city was then of great extent, the houses were of brick and stone. The most considerable merchant was a man named Daniel, a Hollander; but many of different nations were also settled there, some from Surat, some from Kutch, others from China. When ships arrived in the port, if the merchants could not take off all the cargoes the king advanced the funds for purchasing what remained, and divided the goods among them, taking no profit to himself. After the departure of the vessel the king was paid in gold the amount of his principal, without interest.