The fortified town ( bastide ) was built in 1222 by the Count of Toulouse . It is now a popular tourist spot . The fortified town was built in 1222 by Raimon VII , the Count of Toulouse , a Cathar heretic , and is now a popular tourist spot .