An anti-sanctuary protester briefly interrupted new California Gov. Gavin Newsom's swearing-in ceremony on Monday.

Newsom (D), accompanied on stage at the State Capitol in Sacramento by his wife and children, was about to be sworn in as California's 40th governor when a man in the crowd began yelling, "I object!"

Someone with press credentials shouts “I object” as Gavin Newsom is about to take the oath of office. He’s escorted out pic.twitter.com/e7bD3chNcU — Anthony Zurcher (@awzurcher) January 7, 2019

This is the protestor who shouted “I object!” just as @GavinNewsom was about to be sworn in. #CaliforniaInaugurationDay pic.twitter.com/LQfQZNuLbb — Laura Anthony (@LauraAnthony7) January 7, 2019

The crowd began booing the man as he voiced his opposition to California's sanctuary state law and the lawmakers who support it.

"Corporal Ronil Singh's blood is on your hands! Shame on you! Shame on you!" the protester yelled as he was being walked out, referring to the California police officer who was gunned down last month, allegedly by an illegal immigrant who had prior arrests.

Malkin on Trump's National Address: Americans Elected Him to Make This 'The Issue'

'The President Is Right': Former Border Patrol Chief Under Obama Says Walls ‘Absolutely Work’

Mexican national Gustavo Perez Arriaga has been charged with Singh's murder, and critics of sanctuary policies have said that the officer's tragic death could have been prevented if state and local law enforcement were able to cooperate with federal immigration authorities.

In remarks just before his departure, former Gov. Jerry Brown said Singh's murder had "nothing to do" with the law.

After the interruption, Newsom was sworn in and went on to blast President Trump in his inaugural speech.

“There is an administration in Washington that is clearly hostile to California and California’s interests,” Newsom said.

“We will offer an alternative to the corruption and incompetence in the White House,” he said. “Our government will be progressive, principled, and always on the side of the people.”

Newsom put out a campaign ad last year calling the president’s proposed border wall a “monument to idiocy” and referred to Trump as a “small, scared bully.”

Judge Nap: Trump Would Be 'Biting Off More Than He Can Chew' By Invoking Nat'l Emergency

Gutfeld: Trump Should Acknowledge Dems' 'Personal Vendetta' Against Him in Nat'l Address