[Cl:1][C:2]1[C:3]2[CH:15]=[C:14]([O:16]C)[CH:13]=[CH:12][C:4]=2[S:5][C:6]=1[C:7]([O:9][CH2:10][CH3:11])=[O:8].B(Br)(Br)Br.C(O)C>ClCCl>[Cl:1][C:2]1[C:3]2[CH:15]=[C:14]([OH:16])[CH:13]=[CH:12][C:4]=2[S:5][C:6]=1[C:7]([O:9][CH2:10][CH3:11])=[O:8]A stirred solution of ethyl 3-chloro-5-methoxybenzo[b]thiophene-2-carboxylate (20.0 g) in dichloromethane (80 ml) at −20° C. under an atmosphere of nitrogen was treated with boron tribromide (1M solution in dichloromethane; 90 ml) and the solution allowed to warm up to room temperature slowly. After 2 hours the mixture was carefully poured into ethanol (400 ml) and left to stand for 10 minutes. The solvent was evaporated under reduced pressure and the residue dissolved in ethyl acetate (500 ml). The resulting solution was washed with water (300 ml), dried over sodium sulphate and the solvent evaporated under reduced pressure to give ethyl 3-chloro-5-hydroxybenzo[b]thiophene-2-carboxylate (18.68 g) as an off-white solid; m.p. 160-161° C.