LOS ANGELES — A sexual assault suspect was arrested early Monday on the Paramount Pictures studio lot in Hollywood after a confrontation with officers, the Los Angeles Police Department said.

The incident began about 10 p.m. Sunday when officers from the city of Fullerton attempted to detain the suspect and he pulled a knife, the LAPD said in Twitter posts.

The officers used a Taser and requested assistance from Los Angeles police, who fired so-called less-lethal munitions that were ineffective.

The LAPD said there was also an officer-involved shooting at the lot’s Melrose Avenue gate before the suspect ran onto the lot and barricaded himself inside a building.

Officers attempted to negotiate a surrender and about 12:15 a.m. entered the building and took the suspect into custody.

The suspect was bleeding and was taken to a hospital, the LAPD said. No officers were injured.

The suspect was not immediately identified.