Belshazzar was the last king of Babylon. He was the son of Nabonidus by Nitocris, who was the daughter of Nebuchadnezzar and the widow of Nergal-sharezer.
When still young he threw a great banquet to a thousand of his nobles. Soon, he sent for the sacred vessels Nebuchadnezzar had carried away from the temple in Jerusalem. After a while they all got drunk and started worshipping their idols.
Suddenly the fingers of a human hand appeared and wrote on the plaster of the wall, near the lampstand in the royal palace. The king watched the hand as it wrote. His face turned pale and he was so frightened that his knees knocked together and his legs gave way. (Daniel 5:5-6)
He called for the enchanters, astrologers and diviners to be brought to him to interpret the writing but none of them could explain what it meant. This made him more afraid but the queen reassured him that there was a man named Daniel who could help him solve the riddle. He had Daniel brought before him and promised him much wealth and power if he told him what the writing meant.
Then Daniel answered the king, "You may keep your gifts for yourself and give your rewards to someone else. Nevertheless, I will read the writing for the king and tell him what it means. (Daniel 5:17)
He then proceeded to tell Belshazzar that the words were Mene , Mene , Tekel , Parsin. Interpreted, they meant that God had shortened Belshazzar's reign for using sacred cups for his partying and worshipping false gods. God had weighed the king on his scales and decided that he was not good enough to king. So his kingdom was to be divided between the Medes and the Persians.
Despite the bad news, Belshazzar kept his promise and rewarded Daniel. That same night, however, an invading army killed King Belshazzar and Darius took over the throne. The kingdom of the Chaldeans had ended.