Ugandan President Yoweri Museveni, re-elected in January for a sixth term, was sworn in Wednesday at a ceremony in the capital Kampala, which was placed under heavy security to avoid any demonstrations by the opposition, which is challenging his election.