Updated

Authorities in northeastern Spain say they have brought under control a major blaze that was Catalonia's biggest wildfire in three years.

Officials said the fire charred some 1,200 hectares (3,000 acres) of forest and farmland before being extinguished Monday night.

Investigators believe the blaze was started accidentally by farm equipment on Sunday. It raged for more than 30 hours, driven by strong winds and fueled by tinder-dry forests after a spring with relatively low rainfall compared with previous years.

At one point, 400 people had to be evacuated from their homes in the picturesque region near Barcelona.

Authorities said nobody was hurt and no homes were lost.