Former President sworn in as PM