who helped join the East India company in a joint attack on Portuguese and Spanish ships?