The Iglesia de Sant Miquel was built in the 13th Century and it has a Romanesque facade. The interior is in the Gothic style with a fine coffered ceiling. The church was the seat of Catalian courts between 1307 and 1370. Nearby is the 15th Century Palau del Castilo which was once the home of the king`s representative. It was also used as a prison.