Egyptians and the Mesopotamians were the first ones to have lunar and solar calendars. At that time, the Egyptians and Mesopotamians were the leading astronomers.
The Egyptian priests studied the stars to foretell the natural events. For example, they use Sirius, the Dog Star where it rises above the horizon just before the dawn when the flooding of the Nile is about to occur.(credit:www.historyworld.net)