On , during the Great Northern War, the Battle of Erastfer took place in Magari. The Russian troops with 18,800 men took the victory over the Swedish 2,470 men. It was the first significant Russian victory in the Great Northern War.