What was Napoleon’s title when he presented France with the Napoleonic Codes?

What was Napoleon’s title when he presented France with the Napoleonic Codes?
A. Emperor
B. General
C. First Consul
D. Prime Minister