 That same year, he defeated a Samanid army, as well as the Dailamite Makan, which had together invaded Tabaristan.Voshmgir then wrested Gorgan from Samanid control.Voshmgir soon decided to acknowledge Samanid supremacy, and in 936 he also turned over Gorgan to Makan.