Complex sentence: Though it is closer to Nicaragua, it is part of the San Andrés archipelago department of Colombia, lying midway between Costa Rica and Jamaica.
Split into simpler sentences: Though it is closer to Nicaragua, it is part of Colombia. It is part of the San Andrés archipelago, lying midway between Costa Rica and Jamaica.