This revolt ended in 135 when Bar Kochba and his army were defeated.
After the suppression of the revolt the vast majority of Jews were sent into exile; shortly thereafter (around 200), Judah haNasi edited together judgements and traditions into an authoritative code, the Mishna.