But in spite of these difficulties, the Empire remained a major expansionist power until the Battle of Vienna in 1683, which marked the end of Ottoman expansion into Europe.