The first Fort Wellington was erected on this site during the War of 1812 to shelter British regular troops and Canadian Militia defending the vital St. Lawrence River transportation route. In February 1813 these soldiers crossed the ice to capture Ogdensburg, N.Y. When rebellion threatened Upper Canada in 1838 the fort was in ruins. Construction had scarcely begun on the present fort in 1838 when a band of Canadian rebels and American sympathizers attacked; they were defeated nearby at the Battle of the Windmill by troops assembled at the fort.