When was Wind Energy First Used?

It is believed that wind energy was first used in sailboats. The sails capture the wind to move the boat. This type of wind energy is still used by many people today even!