Democratic party candidate pledges to protect democracy after securing clear victory over conservative rival