sentences:  Between 1460 and 1864, Flensburg was, after Copenhagen, the second biggest port in the Kingdom of Denmark, but it passed to the Kingdom of Prussia after the Second Schleswig War in 1864.The Battle of Flensburg was on February 6, 1864