Demarlon C. Thomas, whose 19-year sentence was commuted by Obama in November, was killed by two masked gunman at Bannum Place halfway house in Michigan

Surveillance video shows the moment two masked gunmen barged into a Michigan federal halfway house before they 'executed' a man who just had his prison sentence commuted by former President Barack Obama.

Demarlon C. Thomas, 31, was shot several times, including the head, inside the Bannum Place Federal Corrections Halfway House on Monday night.

Thomas, who had his drug-related prison sentence commuted in November, was 'executed' by one of the gunman, as the other suspect corralled at gunpoint roughly two dozen people at the facility before they both fled the scene moments later.

The surveillance video first shows the masked men running to the door outside of the facility wearing dark clothing, as they each held on to assault-style rifles around 9:40pm.

Scroll down for video

Surveillance video shows the moment two masked gunmen barged into a Detroit federal halfway house before they 'executed' Thomas on Monday night (above)

The two men entered the facility around 9:40pm wearing dark clothing as they each held on to assault-style rifles they aimed at those inside (above)

The men then run into the facility, as one can be seen pointing his gun at a person sitting behind a desk, before moving them away from the desk.

The video jumps to show another person being forced to sit in a chair, as one of the gunmen disappears off camera.

The video ends with one of the shooters running back out of the door to the facility located at at 2209 Norman Street.

Authorities say that Thomas, a former member of Saginaw's Sunny Side Gang member, was sought out by the two masked men.

Thomas was pronounced dead at the scene. No one else was injured and no one was immediately taken into custody.

Video shows one of the armed men corralling people inside the lobby area of the facility (above), as the other man is not pictured on camera

The video ends with one of the shooters running back out of the door to the facility located at at 2209 Norman Street (above)

It is unknown what security measures were in place at the house.

Before learning how long he would be sentenced to prison, Thomas wrote: "My long term goals are to get a job, start a family, and do for my family. Also, just to live my life to the realest I can when I get out."

Thomas had been sentenced to 19 years in prison in 2008 on a cocaine charge, but with the commutation the sentence was to expire on March 22, 2017 as he would have been released from the federal halfway house on that date.

He had been charged with distributing five grams or more of cocaine.

Thomas was arrested as part of 'Operation Sunset,' a federal investigation that effectively dismantled the Sunny Side Gang in Saginaw, which is located about 100 miles from Detroit.

He was one of 79 individuals whose sentences Obama commuted on November 22, 2016.

Thomas, who was the only child to his mother, had been held at Elkton Federal Correctional Institution in Lisbon, Ohio, roughly 250 miles southeast of Saginaw.

The Michigan State Police Major Crimes Unit is leading the investigation.

Anyone with information about the slaying is asked to call Michigan State Police Detective Sgt. Jim Bush directly at (231) 250-9471, or Crime Stoppers at 800-422-JAIL.