Local population attacked Europeans in 1844, a popular boycott movement occurred, and the government withdrew the measure in 1848.