Answer:
10 years
Step-by-step explanation:
He was first appointed dictator in 49 BC, possibly to preside over elections, but resigned his dictatorship within 11 days. In 48 BC, he was reappointed dictator, only this time for an indefinite period, and in 46 BC, he was appointed dictator for 10 years.