After having governed five years, the Count of Vidugueyra was ordered by the king to resign to Don Francisco de Mascarennas in 1628; but as that gentleman had left India for Europe, the viceroy resigned the charge of government to Don Luis de Brito, bishop of Cochin, and went home to Portugal. In this year the king of Acheen made an attempt to gain possession of Malacca, against which he sent a fleet of 250 sail, with 20,000 soldiers and a great train of artillery. In this great fleet there were 47 gallies of extraordinary strength, beauty, and size, all near 100 feet long and of proportional breadth. The king embarked with his wife, children, and treasure; but upon some ill omen the fleet and army sailed without him, and came before Malacca in the beginning of July 1629, the former under the command of Marraja, and the latter of Lacsamana, an experienced general who had made many conquests for his master. Having landed the troops, they were attacked by Antonio Pinto de Fonseca with only 200 men, who slew above 300 of the enemy without losing a man, and then retreated into the city. Juan Suarez Vivas with 350 Portuguese, who commanded at Iller, defended that post for some time with great gallantry and did great execution among the enemy; but at length, overpowered by numbers, was forced to retire. Having gained an eminence called mount St Juan, the enemy erected a battery there from which they played furiously against the fort, which answered them with great spirit. The Capuchin convent dedicated to the Mother of God, being considered as of great importance for the defence of the fort, was gallantly defended for 50 days by Diego Lopez de Fonseca, who on one occasion made a sally with 200 Portuguese and defeated 2000 of the enemy. On Lopez falling sick, Francisco Carvallo de Maya took the command of that post, and defended it till the convent was entirely ruined, so that he was obliged to withdraw into the city, on which the enemy converted it into a strong post in which Lacsamana took up his quarters with 3000 men. Marraja occupied mount St Juan, on which he erected a large fort; others were established at the convent of St Lawrence, at Iller and other places, having strong batteries and lines of communication, so that the city was invested on all sides by land, while a number of armed boats presented all access by sea for relief. Fonseca, who commanded in the besieged city, sent out Vivas with 220 Portuguese troops to dislodge Lacsamana from his head-quarters on the ruins of the Capuchin convent, on which occasion Vivas gained possession of the post by a night attack, killing 100 of the enemy, and retired with several cannon. The King of Pam, who was in alliance with the Portuguese, sent a fleet of paraos with 2000 men to the assistance of the town; and Michael Pereyra Botello brought five sail from the city of San Thome: Yet these reinforcements were insufficient to induce the enemy to retire, though they had lost above 4000 men during the siege, while 60 were slain on the side of the defenders.

Although the bishop of Cochin was informed in June of the intended attack on Malacca and the weak state of its garrison, he postponed sending any reinforcement, as it was then the dead of winter on the Malabar coast, proposing to dispatch succours in September. He died however about the end of July 1629, after having governed India for nineteen or twenty months. Upon his death the next patent of succession was opened, which named Don Lorenzo de Cunna, the commander of Goa, to the civil government of India, and Nunno Alvarez Pereyra to the military command. Of this last name there happened to be two in India, or none. If Don Nunno Alvarez Pereyra, a gentleman well known, were meant, the title of Don was omitted in the patent; if Nunno Alvarez Botello, the sirname teemed wrong. It was thought unlikely that the title of Don could be omitted through mistake, as that in Portugal is peculiar to certain families. The mistake of name in regard to Nunno Alvarez Botello was more probable, as he had long gone by the name of Pereyra, in memory of his grandfather Alvarez Pereyra, and had dropped that name for Botello when he inherited the estate of his father, whose name was Botello; yet some continued to call him by the old name, and others gave him the new one. The council of Goa, and the Count de Linnares after his arrival in India, allowed the pretensions of Botello.

In the meantime, considering how dangerous delay might prove to Malacca in its distress, Nunno Alvarez Botello undertook the relief of that place, saying that he would postpone the decision of the dispute till his return. By general consent however, he went by the title of governor; and by direction of the council of Goa, the Chancellor Gonzalo Pinto de Fonseca assumed the administration of justice, so that the government was divided between him, De Cunna, and Botello, who used such diligence in preparing for his expedition to relieve Malacca, that, from the 2d of August, when the charge of governor was awarded to him, to the beginning of September, he had collected 900 Portuguese troops, a good train of artillery, a large supply of arms and ammunition, and 30 vessels, and was ready to put to sea as soon as the weather would allow. He set sail on the 22d of September, rather too early, and encountered four several storms during his voyage, two of which were so terrible that every one expected to be lost. He at length reached Pulobutum, whence he sent two vessels to give notice at Malacca of his approach, yet arrived himself before them. At Pulobutum he found a vessel belonging to Cochin and two from Negapatnam, being some addition to his fleet He arrived at Malacca on the afternoon of the 22d October 1629, to the great surprise of Lacsamana, as his fleet was then in the river Pongor, a league from Malacca, and so situated as to be unable to escape.

Botello immediately landed and gave the necessary orders and again embarking forced his way up the river through showers of bullets, which he repaid with such interest that the enemy abandoned their advanced works that same night, and retired to that which they had constructed on the ruins of the Capuchin monastery. As the river Pongor had not sufficient water for the Portuguese ships, Botello embarked a strong detachment in 33 balones or balames, being country-vessels of lighter draught, with which he went in person to view the strength and posture of the hostile fleet. Being anxious for the safety of their gallies, the enemy abandoned their works at Madre de Dios and San Juan, and threw up other works with wonderful expedition for the protection of their fleet. But having attacked these with much advantage, Botello proposed to the enemy to surrender, on which Marraja returned a civil but determined refusal. His situation being desperate, Marraja endeavoured the night to escape with the smaller vessels, leaving his large gallies at the mercy of the Portuguese, but was prevented by the vigilance and bravery of Vasquez de Evora, who cut off many of his men, not without some loss on his own side, having one of his arms carried off. The enemy now endeavoured to make use of their formidable gallies, and the chief among them called the Terror of the World was seen in motion; on which Botello sent the admiral of the Portuguese gallies, Francisco Lopez to attack her, which he did with great gallantry, passing through clouds of smoke, and a tremendous fire of artillery, and after two hours hard fighting, carried her by boarding, after killing 500 of her men out of 700, with the loss only of seven of his own men.

On the 25th of November, the enemy set fire to a galley that was full of women whom they had brought to people Malacca, and made a fresh attempt to break through the Portuguese fleet, but without success, many of them being slain and taken, and great numbers leapt into the water, and fled to the woods, where they were devoured by wild beasts. Lacsamana then hung out a flag of truce, and sent a deputation to treat with Botello, who answered that he would listen to no proposals till they restored Pedro de Abren the Portuguese ambassador, whom they kept prisoner; and as they delayed compliance; the Portuguese cannon recommenced a destructive fire. On the last day of November, Botello got notice that Marraja the Acheen admiral was slain, and that the king Pam was approaching to the assistance of the Portuguese with 100 sail of vessels. Botello went immediately to visit him, and was received with the customary ceremonies used by the eastern princes to the Portuguese governors. After interchanging presents and mutual compliments, Botello returned to his post, where he found the Portuguese rather slackening their efforts in consequence of a desperate cannonade from the enemy. But on the 4th of December, the enemy sent fresh proposals for an accommodation, accompanied by the ambassador Abreu, requiring only to be allowed to withdraw with three of their gallies and 4000 men, being all that remained of 20,000 with which they had invested Malacca. In answer to this, they were told they must surrender at discretion on promise of life; and as Lacsamana hesitated to accept such humiliating terms, Botello assaulted and forced all his works, where many of the enemy were put to the sword; some throwing themselves into the river to swim across were drowned, and others who fled to the woods were devoured by beasts of prey. In fine, Botello obtained the most glorious victory that was ever gained by the Portuguese in India; as of all the fleet which came against Malacca, not a single vessel got away, and of the large army, not one man escaped death or captivity. So great was the booty, that the whole of the Portuguese troops and mariners were enriched, Botello reserving nothing to his own share but a parrot which had been much valued by Lacsamana.

On going to Malacca after this great victory, he entreated to be allowed to walk barefooted and unaccompanied to church, that he might humbly prostrate himself before the Lord of Hosts, in acknowledgement that the victory was entirely due to God, and not to the Portuguese valour; but he was constrained to enter the city in triumph. The streets were crowded with men, and the windows and house tops thronged with women, who sprinkled the hero with sweet waters and strewed flowers in his path. The music could not be heard for the noise of cannon, and all the city was filled with extreme joy. At this time an embassy came from the king of Pera, who was tributary to the king of Acheen, offering to pay tribute to the king of Portugal, and to deliver up a large treasure left in his custody belonging to the king of Acheen and his general Lacsamana. Don Jerome de Silveyra was sent with eleven ships to receive the treasure, and establish a treaty with the king of Pera, who performed his promise, and the treasure was applied to pay the men and refit the fleet.

About the middle of January 1630, Botello being off the straits of Cincapura to secure the ships expected from China against the Hollanders, Lacsamana and two other officers who had fled to the woods were brought prisoners to him, having been taken by the king of Pam. Owing to contrary winds, he was unable to get up with five Dutch ships that were about Pulo Laer, and which took a Portuguese galliot coming from China. He returned therefore to Malacca to refit his ships, and resolved to attempt the Dutch fort of Jacatara[20], the best which was possessed by these rebels in all Asia. In the first place, he sent Antonio de Sousa Coutinno in the admiral galley lately belonging to Lacsamana called the Terror of the World, in which Lacsamana was now prisoner, to Goa; directing that Lacsamana should be sent to Portugal, and that this large and magnificent galley should be given as a present to the city of Goa. In this galley there was one cannon made of tombac, a precious sort of metal, which was valued at above 7000 ducats, and another cannon reckoned still more valuable on account of its curious workmanship. Lacsamana died before he could be carried to Portugal.

[Footnote 20: In the neighbourhood of which was afterwards built the city of Batavia, the emporium at the Dutch trade in the east, now subject to Britain.--E.]

Learning that the Count de Linnares, now viceroy of India, had arrived at Goa in October 1629, Botello transmitted to him an account of all that he had done, and desired his assistance and approbation to continue in these parts in order to carry on his designs against the English and Hollanders. About the end of April 1630, the viceroy not only sent him every thing he asked, but gave him full power to act as governor general, without being obliged to wait for orders from Goa. In the meantime Botello sailed with 27 ships towards the straits of Cincapura, and put in at Jambo[21], a place abounding in pepper, and on that account much resorted to by the Dutch and English. At this place he took two large ships after a stout resistance; and going higher up the river he discovered another ship so large and beautiful that he designed to make use of her for his entrance into Goa; but a ball falling into her powder-room, blew her up. After employing three weeks in working up the river, Botello learnt that at a town about two leagues distant, two Dutch ships had taken shelter, and being desirous of taking them, he manned 14 light vessels with which he went to view the place, on which he was opposed by 26 sail of small vessels manned with Hollanders and natives, whom he put to flight; but on viewing the place he found it impracticable to attempt the two vessels, on account of the strength of the works by which they were protected. He destroyed therefore all the neighbourhood with tire and sword, and then sailed down the river, intending to proceed against Jacatara.

[Footnote 21: Probably Jambee on the N.E. side of Sumatra, in about lat. 18 20' S. to the S.E. of the straits of Cincapura.--E.]