The foreign countries had their respect increased by the Tripolitan War