Iowa Cop Killing Suspect Had Encounter With Officers 2 Weeks Before Shootings

Scott Greene had been kicked out of a football game after waving a Confederate flag.

Two weeks before Scott Greene was suspected of assassinating two police officers in Iowa, he was involved in a confrontation that may have led to the deadly shootings.

Read: Suspect Arrested in 'Ambush-Style' Slayings of 2 Iowa Cops

Greene was taken into custody Wednesday, hours after the early morning shootings, but it wasn't his first encounter with law enforcement.

Police officers were seen on video trying to reason with the 46-year-old two weeks ago after he caused a disturbance where he waved a confederate flag at a high school football game in the town of Urbandale.

Greene later posted the video to his YouTube channel, and can be heard saying: "I was offended by the blacks sitting through our anthem... They are cop haters."

It was an apparent reference to the controversy over NFL players taking a knee during the performance of the national anthem.

In the video, he can be heard telling officers: “I was peacefully protesting!”

“You have to understand, in the current social climate that we're in, when you fly a confederate flag standing in front of several African American people, that's going to cause a disturbance,” the officer says.

Police Chief Ross McCarty said Greene’s daughter is a student at the school where the football game took place.

“It was a confederate flag. He was waving it during the national anthem and he had picked some people of color to wave it in front of,” McCarty said.

His daughter posted a photo of her father to her Facebook page with the caption: “#Scottslifematters. This poor man was consumed by the devil himself.”

Read: Orlando Shooter's Wife Opens Up, 6 Months After Pulse Nightclub Massacre: 'I Was Unaware'

According to officials in Des Moines, both officers were inside their cruisers when they were shot dead in the early morning hours of Wednesday.

At an emotional press conference, Des Moines Police Sgt. Paul Parizek told reporters: “It doesn’t look like there was any interaction between these officers and whoever the coward is who shot them while they sat in their cars."

The first officer, Urbandale PD Officer Justin Martin, was killed in the town that borders Des Moines.

In the second shooting, a Des Moines police officer Sgt. Anthony Beminio was shot after responding to the initial shooting and later transported to a hospital, where he died.

The second shooting took place just blocks away from the first, KCCI reports.

Watch: Police Officer Dies of Complications From Shooting After He Predicted He Would Be Shot