At the time of Napoleon's birth under whose rule was Corsica - France or Italy?

It was under French rule and had been for a year when Napoleon was born.