Why is Luxembourg the capital of Luxembourg?

The actual name of the capital of Luxembourg is Luxembourg-Ville which is French for Luxembourg City.