The town is an example of the medieval fortified town known as a bastide . It was founded by Philip the Bold in 1281 . The town , an example of the medieval fortified town known as a bastide , was founded by Philip the Bold in 1281 .