Why was the stone wall around Old Quebec constructed in the early 1800s?

Created from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles.

The stone wall surrounding Old Quebec was constructed at the beginning of the 19th century primarily to protect the city against a feared invasion by the United States.1