Colombo: Gotabaya Rajapaksa was on Monday sworn in as Sri Lanka's seventh President at an ancient Buddhist temple, a venue chosen to reflect the massive mandate he got from the Sinhalese majority, as he vowed to protect all communities while giving foremost priority to Buddhism.