The King and Obama walk on the red carpet at the welcoming ceremony at Parliament Square.
PETALING JAYA: President Barack Obama was accorded a state welcome at Parliament Square after arriving at RMAF airbase in Subang for a three-day visit.
The American leader's motorcade arrived at the Parliament grounds at about 5.40pm.
Obama was welcomed by Yang di-Pertuan Agong Tuanku Abdul Halim Mu'adzam Shah and Prime Minister Datuk Seri Najib Tun Razak at Parliament Square.
After the leaders made their way to the royal dais, the American national anthem, The Star-Spangled Banner, and Negaraku, were played.
Obama inspected a guard-of-honour mounted by 107 officers and men from the First Battalion of the Royal Malay Regiment led by Major Amriza Mohd Asshari.
The ceremony was also marked by a 21-gun salute.
Obama was later introduced to Cabinet ministers and members of the diplomatic corps.
Obama will head to Malaysia's federal administrative capital Putrajaya on Sunday for talks with Najib before going to nearby Cyberjaya for the launch of the Malaysian Global Innovation and Creative Centre (MaGIC) which will provide a platform for entrepreneurs to expand their wings.
Other highlights of Obama's visit is his town hall session with youth leaders from across Southeast Asia and a visit to the National Mosque.
Malaysia is the third leg of Obama's four-nation tour of Asia, and he will end his trip with a visit to the Philippines on Monday.