The Literary and Historical Society of Quebec (LHSQ) was the first historical society, and one of the first learned societies, in Canada. It was founded in 1824 by George Ramsay, Earl of Dalhousie, governor of British North America. Its headquarters are still located in Quebec City. After several moves and two fires, the Society settled into the northern wing of Quebec City's Morrin College in 1868. The College closed at the turn of the 20th century but the Society stayed on, eventually taking over the entire building in 2004.