More than 4,000 people, many of them police officers, gathered Wednesday to mourn a Riverside, Calif., officer killed last week in a shooting rampage by a former Los Angeles police officer.

Michael Crain was described as a model officer — a man with a high-and-tight haircut and a Marine's bearing, who also had a father's heart, coaching his young son's baseball team and dancing at ballet classes with his 4-year-old daughter.

Crain, 34, was killed by gunshots in his squad car on Feb. 7 while working overnight patrol. Another officer was wounded in the ambush.

Thousands of blue-uniformed police officers joined family and friends in an overflow crowd outside Riverside's Grove Community Church.

STORY: No joy for LAPD

At the conclusion, Crain's son Ian, 10, joined a group of officers carrying his father's casket out of the church for burial at Riverside National Cemetery. They exited the church to the sound of Scottish bagpipes.

"When you meet someone who's just happy and loves life, who do you think of? That's Mike,'' pastor Tom Lance said.

Crain's widow, Regina, tearfully recalled happy simple times with her husband, such as the big breakfasts he loved. Other family members and friends recalled Crain as a dedicated officer and family man who loved working on his 1970 Chevy Nova, riding his motorcycle and boating with his family.

He was remembered as an enthusiastic police officer and dedicated servicemember. He served on the police force for 11 years and was a former Marine sergeant deployed to Iraq and Kuwait.

Story: Cornered killer posed unique threat

"Mike wanted to have every job in the police department,'' Lance said.

Police Chief Sergio Diaz addressed Crain's children, telling them he was an officer who commanded respect: "Your dad was a tough guy. And because he was a tough guy, he knew he could be kind and gentle.''

The funeral and cemetery procession, accompanied by hundreds of police officers on motorcycles and in squad cars, was broadcast live on Los Angeles TV stations.

Crain's funeral was held just a day after Christopher Dorner was believed to have died in a burning cabin in the San Bernardino Mountains, shortly after a San Bernardino County sheriff's deputy was killed and another wounded in a shootout Tuesday.

More funerals stemming from the shooting spree are scheduled. Also killed were an engaged couple, Monica Quan, 28, and Keith Lawrence, 27, who were shot to death outside their Irvine condominium Feb. 3 just hours after watching the Super Bowl.

Police have said they believe Quan and Lawrence were targeted as a revenge killing aimed at Quan's father, Randal Quan, a former Los Angeles police captain-turned-lawyer who represented Dorner in a police personnel proceeding. The proceeding led to Dorner's 2009 firing.