Babylonian calendar
The ancient Babylonians used a calendar with alternating 29- and 30-day months. This system required the addition of an extra month three times every eight years, and as a further adjustment the king would periodically order the insertion of an additional extra month into the calendar.
Read More about Babylonian calendar