Original: Versailles was made the préfecture of the Yvelines département, the largest chunk of the former Seine-et-Oise département.
Simplified: It is the capital of the Yvelines département.