California's new governor has promised that the most state will be a 'sanctuary to all who seek it' in a direct affront to President Donald Trump's immigration policies.

Democrat Gavin Newsom, 51, challenged the Trump administration repeatedly as he was sworn in to office Monday, particularly on immigration.

Newsom, the former husband of Donald Trump Jr's partner Kimberly Guilfoyle, said children should not be 'ripped away from their parents' at the border.

California Governor Gavin Newsom, pictured holds his son Dutch, two, who ran on stage while he gave his inaugural address at the State Capitol in Sacramento, criticised Trump policies

Strong speech: Governor Newsom, pictured with wife Jennifer Siebel Newsom and their children Dutch, Brooklyn, Montana and Hunter, said children should not be 'ripped away from their parents' at the border

The new governor said they also shouldn't be left hungry while Trump seems to spend billions of dollars on 'a wall that should never be built.'

Newsom, whose speech was interrupted by his two-year-old son Dutch running onto the stage, also referred to the administration as corrupt and incompetent and promised California will 'write America's future.'

'Together, let us build a house stronger than the coming storms, yet open to the world,' Newsom said after picking up his son and holding him in his arms as he continued.

'A house that provides shelter to all that need it, and sanctuary to all who seek it. Where opportunity abounds for all that will work for it.

'A true California house, sun-kissed, dream-soaked, and built with the sweat of honest work.

Get back! His wife Jennifer Siebel Newsom did her best to corral the little boy

Scene-stealer: California Governor Gavin Newsom's inaugural address was interrupted when his two-year-old son wandered onto the stage

On a roll: Newsom barely stopped and bent over to pick up Dutch and hold him while he continued his speech

Cute! The crowd laughed, and his whole family joined him on stage for the swearing-in

The former San Francisco mayor became the state's 40th governor, succeeding the term-limited Jerry Brown.

Newsom, is married to Jennifer Siebel Newsom, a documentary filmmaker and actress, and the couple have four children; Dutch, Brooklyn, Montana and Hunter.

Newsom had previously been married to prosecutor-turned-Fox News personality Kimberly. The pair wed in December 2001 but jointly filed for divorce in January 2005, citing 'difficulties due to their careers on opposite coasts'.

Flashback: Newsom had previously been married to former Fox News personality Kimberly Guilfoyle. The pair wed in December 2001 but jointly filed for divorce in January 2005

New bae: Guilfoyle is now dating the president's son, Donald Trump, Jr., and recently spent the holidays with him, his wife, and his kids at Mar-a-Lago

Their divorce was finalized in February of 2006 and Guilfoyle is now dating the president's son, Donald Trump Jr.

In 2004, the then-mayor of San Francisco, Newsom directed San Francisco city clerks to issue marriage licenses to gay couples, then in violation of state and federal law.

A month later, the state Supreme Court halted the practice and voided the licenses.

More recently, in 2016, Newsom proposed and campaigned heavily for the winning 2016 gun control ballot measure that restricted possession of high-capacity magazines and required a background check to buy bullets, among other things.