The Ottoman wars in Europe at home and the 1667 Dubrovnik earthquake finally put an end to Ragusan trade with India.