He also made references to Alton Sterling

A YouTube account operated by Gavin Eugene Long and discovered by The Daily Caller reveals key insight into what might have motivated the 29-year-old black man who killed three Baton Rouge police officers Sunday morning.

Videos on Long’s account show that he was a former Nation of Islam member. He also ranted against “crackers” and made references to Alton Sterling, the black man killed by police in Baton Rouge on July 5.

Other information about Long shows that the Kansas City native,who CBS reportedwas honorably discharged from the Marines in 2010, went by the name Cosmo Ausar Setepenra.

In one videofilmed from Houston and posted to Long’s Youtube account on July 12, the suspected guman discusses being in the Marines and reaching the rank of E-5.

Long, who was reportedly carrying a rifle and wearing all-black attire when he confronted police, posted several videos within recent weeks discussing various police-involved shootings.

“If I would have been there with Alton — clap,” Long says in a video posted on July 14.

In the video, Long met with several men he seemed to not have known prior to their encounter. He promotes a book he wrote and discusses black liberation ideology.

“I wrote it for my dark-skinned brothers,” Long said of his book.

“If you look at all the rebels like Black Panthers, Huey P. Newton, Malcolm X…Elijah Muhammad, they was light-skinned. But we know how hard y’all got it,” Long continued.