Ranil Wickremesinghe on Friday pledged to maintain law and order and revive the 19th Amendment to the Constitution aimed at empowering Parliament over the executive president as he was sworn in as Sri Lanka's interim president until the House elects a successor to Gotabaya Rajapaksa.