Virat Kohli on Thursday ended his 1,020-day wait for an international century as he scored an unbeaten 122 off 61 balls.