Who was the current French president or PM at that time when Vietnam got its independence?

At the time of Vietnam's independence in 1945, the current French president was Charles de Gaulle. The Prime Minister of France at that time was Paul Ramadier.