LIVE VIDEO: Freddie Gray funeral in Baltimore

LIVE VIDEO: Freddie Gray funeral in Baltimore

BALTIMORE, MD (AP/WWBT) - Thousands are packing a Baltimore church for the funeral of a 25-year-old who died from injuries sustained while in police custody.

CLICK HERE TO WATCH LIVE: nbc12.com/live

Freddie Gray's death on April 19 sparked massive protests, some of which turned violent over the weekend.

A small group of mourners was lined up about two hours ahead of the funeral. As they began filing into the church, the white casket with Gray's body was opened, flanked by floral arrangements. A rope was placed in front of the casket to prevent people from getting too close. One person used a cellphone to take a photo of the body.

Placed atop Gray's body was a white pillow with a screened picture of him. A projector aimed at two screens on the walls showed the words "Black Lives Matter & All Lives Matter."

Roughly 1,200 protesters rallied outside City Hall on Saturday afternoon, officials said. A smaller group splintered off and looted a convenience store and smashed storefront windows. A protester tossed a flaming metal garbage can toward a line of police officers in riot gear as they tried to push back the crowd. Earlier, a group of protesters smashed the windows of at least three police cars.

Some 34 people were arrested, according to Baltimore Police Department, and six police officers sustained minor injuries.

Police said Gray was arrested after he made eye contact with officers and ran away. Officers held him down, handcuffed him and loaded him into the van. While inside, he became irate and leg cuffs were put on him, police have said.

Gray asked for medical help several times, beginning before he was placed in the van. After a 30-minute ride that included three stops, paramedics were called.

Authorities have not explained how or when Gray's spine was injured.

Copyright 2015 WWBT NBC12 and Associated Press. All rights reserved