in 332 bc , the city was conquered by alexander the great , after a siege of seven months in which he built the causeway from the mainland to within a hundred meters of the island , where the sea floor sloped abruptly downwards .