Why did Luxembourg become a French speaking country?

Luxembourg is not a French speaking country. The official languages of Luxembourg are Luxembourgish, French, and German. The majority of the population speaks Luxembourgish and French.
Copyright Wanderlust World © https://www.ynyoo.com