Who decides if a company pays dividends?

Who decides if a company pays dividends?

The company’s board of directors decides whether to pay dividends during the Annual General Meeting (AGM).