The conservative leader is sworn in, having won a parliament vote to become chancellor at the second attempt.