and Hashim asked Brooke to help. Brooke joins Makhota's forces at Leda Tanah on 18 October 1840. By 20 December 1840 the rebels offered to surrender to Brooke provided they should not be put to death. Despite the initial refusal of Hashim to pardon them and wanting to execute all the rebels, Hashim was convinced by Brooke to forgive them as he had taken the major part in their suppression. "Hassim agreed to spare the insurgents’ lives and took the wives and children of the insurgency's leaders as hostages. Of the leaders themselves, Datu Patinggi Abdul Gapur and Datu Tumanggong Mersal withdrew to the protection of Sambas, while Datu Patinggi Ali found refuge among the Malays at Sarikei." In exchange for Brooke's support Muda Hashim had promised Brooke the country of Siniawan and Sarawak, and its government and trade. On 14 February 1841, Brooke received papers declaring him "resident at Sarawak,", which granted him the permission to live in the province, and "to seek profit by trade". Brooke leaves the next day in his yacht Royalist for Singapore, only to return to Sarawak in May 1841 with a second boat the Swift filled with British manufactured goods to trade with Muda Hashim. Brooke is disappointed upon his return that the house Hashim had promised to build for him was not ready, and the antimony he wanted in trade for the manufactured goods had not yet been worked. Furthermore, Hashim, began to think twice about giving the territory to Brooke, a doubt fanned by Mahkota who had been deprived of his power in the area in favour of Brooke. This led Hashim to constantly delay the recognition of concession which frustrated Brooke. "Brooke’s estrangement from Hassim provided the Sarawak Malay datus with opportunities to re-establish their positions. They sent a delegation to Brooke led by Datu Tumanggong Mersal and Datu Patinggi Ali’s son, ‘to request him to become their Rajah, offering to support him by force of arms’." On 23 September 1841, Brooke, with Royalist fully armed, went ashore to Hashim's audience chamber and called on him to negotiate. With little choice, and putting the blame mainly on Mahkota, Hashim granted Sarawak to Brooke on 24 September 1841. Brooke issued new laws for the territory banning slavery, headhunting and piracy; and by July 1842, his appointment was confirmed by Sultan Omar Ali Saifuddin II. From 1843, Brooke actively suppressed piracy on