A battle between German and Danish troops in the town on April 23 1849 during the First War of Schleswig . A battle between German and Danish forces took place near the town on April 23 , 1849 during the First War of Schleswig .