Hariri headed five cabinets during his tenure. He was widely credited for his role in constructing the Taif Agreement that ended the 15-year Lebanese Civil War. He also played a huge role in reconstructing the Lebanese capital, Beirut. He was the first post-civil war prime minister and the most influential and wealthiest Lebanese politician until his assassination.