OAKLAND — The city has agreed to pay the family of a man shot and killed by police $1.2 million as part of a lawsuit settlement City Council approved Tuesday.

The settlement of two lawsuits will be split among four of Demouria Hogg’s family members, including his two children, civil rights attorney John Burris said. Burris and Beverly Hills-based attorney Jamon Hicks filed two lawsuits against the city on behalf of Hogg’s family.

“The loss of the dad and son was traumatic for them,” Burris said. “This is as positive as it can be. We don’t have to go through a trial and relive it.”

Hogg, 30, was shot and killed June 6, 2015, while in a BMW a few blocks away from Lake Merritt on Lake Park Avenue. Firefighters saw Hogg asleep inside the running car and called police because there was a gun on the passenger seat.

Police spent more than an hour trying to wake Hogg, using a loudspeaker, breaking out the car’s windows and banging on the doors.

Officer Nicole Rhodes, a rookie police officer, told a prosecutor investigating the shooting that she shot Hogg because he reached toward the gun. Rhodes was cleared of any wrongdoing by the Alameda District Attorney’s Office.

Hogg’s death occurred amid national protests over killings by police in Missouri and New York, spawning the Black Lives Matter movement. At the time, it was the first fatal shooting involving Oakland police in more than two years, but it would mark the first of five by Oakland police that year.

Burris questioned the tactics used by police prior to the shooting. The attorney said it reminded him of the police shooting of Darius Esters, who was killed July 4, 2000 in East Oakland while asleep in his car with a loaded weapon.

“All that did was startle him,” Burris said of the police breaking the car windows. “He had a normal reaction a person would have when they are awakened from a deep sleep.”

The City Council voted 7-1, with Desley Brooks voting no, to approve the settlement.