5,000 BC
The Caravel.
It is not possible to sail directly INTO the wind. Forty-five degrees is about as close as can be gained. Actually they did get the ships to sail into the wind. The above answer is wrong.
The lateen sail was developed in the Mediterranean region, particularly among Arab sailors around the 2nd century AD. It became prominent in the maritime practices of Mediterranean cultures and was later adopted by European sailors during the Middle Ages. The triangular shape of the lateen sail allowed for better maneuverability and sailing against the wind, significantly enhancing maritime navigation and trade.
Wind energy was first developed when the ancient Egyptians used wind to sail their boats down the Nile while trying to avoid rapids and cataracts. 02000angel :P
sail
There are sail planes, sail boats, sail cars, and with a spaceship you could sail to the stars.
sail
While the Arabs are generally credited with this, their boats were often constructed from the wood found in the forests of India. So far, it's hard to say.
Sail me that Frisbee, would you? Do you sail? You sail!
Topgallant sail, also known as the gallant sail or garrant sail
A three sided sail is known as a Lateen sail or also a triangular sail. With a four sided sail one is only able to sail against the wind, but with a Lateen sail it is possible to sail more directly into the wind.
Topgallant sail, also known as the gallant sail or garrant sail