This place is inland, not far from Cartagena. Cartagena has one of the finest ports in the Western Med and was a major city in Roman times. It has an important Spanish naval base.
Good or bad, depending on one's point of view, it is now a major cruise ship destination.
So, it was a good site, sufficiently inland for protection but well suited to govern a region.