An armed man barricaded himself in his grandparents' Brooklyn Park home, keeping police at bay for nearly six hours before peacefully surrendering Friday evening, Anne Arundel County Police said.

Police were called to the 5200 block of Kramme Avenue shortly before 1 p.m. for a reported barricade situation, and as they were taking up tactical positions around the house, a man came out of the front door. pointed a rifle at one of the officers and went back inside, officials said. Several surrounding streets were closed to vehicle and pedestrian traffic, police said.

Other officers from the Special Operations Section, the K-9 unit and the Conflict Negotiation Team arrived to assist their colleagues and, after several hours of negotiations, the suspect surrendered at around 6:50 p.m., police said. He was taken to Harbor Hospital for treatment, and charges are pending, police said.

Lt. Michael Brothers, a police spokesman, said the suspect was a 19-year-old man. No one else was in the home at the time, he said.