RCMP shot vehicle

This picture from October 2011 shows the RCMP vehicle shot at by Whitehead. (David Shield, CBC)

A man from the Red Earth First Nation has pleaded guilty to firing a shotgun at RCMP officers.

21 year old Davis Whitehead pleaded guilty in Melfort Court of Queen's Bench, and received a four year sentence.

In October of 2011, Whitehead shot at officers in a police truck as they approached him while he was walking down a road with a group of three other men. 

The blast shattered the window, although the officers inside the truck weren't hit.

After that, Whitehead fled to a nearby house, which turned into an armed standoff that went on for hours. 

Eventually, Whitehead surrendered peacefully after elders and members of the Red Earth band council negotiated with him. 

Whitehead received credit for 25 months he served on remand while waiting for his trial date.

The three men walking with Whitehead were arrested, but released without charges.

He will serve the remainder of the sentence in provincial jail, and will serve six months probation after he's released.