In 46 BC, Caesar defeated Cato and the remnants of Pompey's supporters in Africa. He was then appointed dictator for ten years. In two years he made numerous changes in Roman administration to improve the Republic. Many of these changes were meant to improve the lives of ordinary people. One example, which has lasted, was his reform of the calendar into the present format, with a leap day every four years. In February of 44 BC, one month before his assassination, he was appointed Dictator for life.