After the Norman Conquest of 1066, French became the language of the courts, government, and the ruling class in England.
Specifically, it was Anglo-Norman French, a dialect spoken by the Norman aristocracy.
English continued to be spoken by the common people, but French was the language of law, administration, and culture for several centuries.
This bilingual situation deeply influenced English vocabulary, especially in law, administration, art, and literature.