What time period did Julius Caesar rule rome?

Julius Caesar had the supreme rule of Rome from loosely, 48 BC to his death in 44 BC. He had flashes of authority before 48, when he was consul, but it was not until he defeated Pompey that he gained total political control although he still had a few military matter to settle.