A Columbia man will spend decades in prison for shooting two Lexington County deputies in 2020.