
Shafie, 61, took his oath in front of Sabah governor Juhar Mahiruddin at a packed hall in the state palace at 9.15pm.
Among those who attended were elected representatives from Warisan, its Pakatan Harapan allies, Upko acting president Wilfred Madius Tangau, former state assembly speaker Syed Abbas Syed Ali and state VIPs including chiefs of uniformed bodies, among others.
Musa was sworn in as the chief minister late Thursday after getting a simple majority to form the state government, following defections by two candidates from STAR, including its president Jeffrey Kitingan, to the Barisan Nasional (BN) camp.
But Shafie later announced that six BN assemblymen had agreed to join his coalition, increasing its seats to 35 from 29 previously.