In 1783, the Cataraqui region was selected by the British as a location to settle United Empire Loyalists who had fled the United States after the American War of Independence. The centre of the region, a community focused on the old fort, would eventually become the city of Kingston. General Sir Frederick Haldimand, Governor of the Province of Quebec, ordered Major John Ross, commander at Oswego, to repair and rebuild the fort to accommodate a military garrison. This was done by a force of 422 men and 25 officers. By October 1783, a lime kiln, hospital, barracks, officers' quarters, storehouses, and a bakehouse were completed. In 1787, the rebuilt fort became known as Tête-de-Pont Barracks.  During the War of 1812, the fort was the focus of military activity in Kingston, having housed many military troops. Many of the present barrack buildings were built between 1821 and 1824.

Answer this question based on the article: What year were the barracks started
1821