Answer
Afghanistan was once a part of the Safavid Empire during the rule of Ismail I. This empire, founded in 1501 by Ismail, was one of the most prominent dynasties to emerge in Iran. The empire's influence and control extended beyond Iran's current borders, encompassing the region that is now Afghanistan and other neighboring areas.