The Chinese government confirmed on Wednesday that North Korea's reclusive leader Kim Jong Un went to Beijing and met with Chinese President Xi Jinping in his first known trip to a foreign country since he took power in 2011.