CENTENNIAL, Colo. (CBS4)Brian Vasquez, a former teacher at Prairie Middle School who pleaded guilty sexual assault on a child, among other charges, was sentenced to 40 years to life in prison on Friday.

Vasquez pleaded guilty in July to three counts of sexual assault on a child by a person in a position of trust, pattern of abuse; one count of sexual exploitation of a child; one count of attempted sexual exploitation of a child; and one count of internet sexual exploitation of child.

READ MORE: 'It Broke The Law': Colorado Settles Lawsuit With Federal Government

Brian Vasquez (credit: Aurora Police)

The 34-year-old was accused of sex crimes against five of his former students, but pleaded guilty to the biggest charges against him.

Earlier this month, the Cherry Creek School District agreed to an $11.5 million settlement with students sexually assaulted by Vasquez.

RELATED: Brian Vasquez Story Archive

READ MORE: I-70 Reopened At Eisenhower Tunnels After Hours-Long 'Police Activity'

Vasquez pleaded not guilty to 41 counts in March. He was arrested in August of 2017 after a former student told her father she exchanged sexually explicit text messages with Vasquez.

Brian Vasquez (credit: CBS)

The suspect admitted to sexually explicit text messages to four other students. Officials say Vasquez later had sex with at least two of the underage girls.

Vasquez was fired from the Cherry Creek School District in September 2017.

(credit: CBS)

In January, three school staff members, a school principal, a dean and a counselor, were indicted for failing to report child abuse when they were approached by one victim in 2013.

MORE NEWS: Dozens Of Volunteers Fan Out To Clear Debris From East Troublesome Fire In Grand Lake

While prosecutors dismissed the charge against the school’s counselor, both the school’s principal and dean face a misdemeanor charge for failure to report.