Nine others were also ordered to spend time behind bars due to their alleged roles in the shooting -- including 28-year-old Alberto Miguel Rodríguez Mota ... who prosecutors said "paid those who carried out the act."
Mota was sentenced to 20 years in prison.
But, the alleged mastermind behind the attack, Víctor Hugo Gómez Vásquez, was acquitted ... due to insufficient evidence.
As we reported, Ortiz was struck by gunfire while he was sitting with friends at the D.R. hotspot ... and was rushed to a nearby hospital.
Officials said his liver and his small and large intestines were damaged by the bullet -- and the former baseball player required multiple surgeries in the ensuing days to fix the issues.
Authorities ultimately said they did not believe Big Papi was the intended target of the attack ... instead, revealing they believed a man named Sixto David Fernandez was the man the shooter wanted, allegedly because he'd once ratted out a drug runner to cops.
El imputado Rolfy Ferreras Cruz, indicado por las autoridades como la persona que disparó en contra del ex pelotero de Grandes Ligas; David Ortiz, dijo hoy que baleó por error al deportista. “Solo me dijeron el color de ropa” declaró Rolfi, desde la celda del destacamento PN. pic.twitter.com/5mrvlbUnrg