Original: It was the ancient capital of Cerdanya in antiquity , before being replaced by Hix ( commune of Bourg-Madame , France ) in the Middle Ages .
Simplified: The city was the ancient capital of Cerdagne in antiquity .