What was the date of the Treaty of Frankfurt?