The first Buddhist council was held in 483 BC at Sattapanni
cave, Rajgriha under the chairman of Mahakassapa. Ajatshatru was the king of
Harayanaka Dynasty at that time. In this council, Vinay Pitaka and Sutta Pitaka
were compiled by Upali and Ananda respectively.

The second Buddhist council was held in 383 BC at Vailshali during
the reign of Kalashoka (Shishunaag Dynasty) and under the chairman of
Sabbakami.

The third Buddhist council was held in 250 BC at Patliputra
during the reign of Ashoka (the Mauryan ruler) and under the chairmanship of
Mogliputta Tissa, to revise the Buddhist texts.

The fourth Buddhist council was held in AD 72 at Kashmir
during the reign of Kanishka (Kushana ruler) under the chairmanship of Vasumitra.
Buddhism was divided into Mahayana and
Hinayana at that time.

Note: If you want us to explain the things more elaborately,
kindly let us know in the comment section.