There is provided a process for the preparation of a compound of formula (III), wherein X and Y are as described in the description. Such compounds may, for example, be useful intermediates in the synthesis of drugs such as Dronedarone. There is also provided a process for the preparation of a compound of formula (I).