He Became even more popular and by an age of 30 in 1799 he were the virtual dictator in France

Could you correct the punctuation please?
He Became even more popular and by an age of 30 (in 1799) he were the virtual dictator in France.