KINGSVILLE, Texas — A Mexican man has been sentenced to nearly four years in a U.S. prison for driving a vehicle that wrecked at a Texas military installation while trying to smuggle immigrants.

Mario Rodriguez-Gomez was sentenced Monday by a judge in Corpus Christi. The 25-year-old pleaded guilty in June to conspiracy to transport illegal immigrants causing serious bodily injury.

Investigators say Rodriguez-Gomez, while in the U.S. illegally and living in Houston, drove a pickup truck that wrecked May 14 while trying to elude Border Patrol agents.

The truck, with Rodriguez-Gomez and 14 passengers, drove through the entry gate of Naval Air Station Kingsville and hit a barrier. Six passengers were hurt.

Investigators say all of the occupants — from Mexico, Honduras, El Salvador and Guatemala — were in the U.S. illegally.