In the Montagut district, and very close to Castellfoliit de la Roca, there is this beautiful Modernista Factory from the 19th century. The factory currently in disuse still owns the Fluvià river water concession. Until the middle of the 19th century, it was a mill. From the second half of the century, it began to function as a textile dye factory, then as a cotton yarn factory until the 1970s, and in 1990 the turbine started operating for the production of electrical energy.