In the 1990s, during the rule of Hassan II of Morocco, the Moroccan wine production started to improve due to foreign (primarily French) investment and know-how. This was achieved by offering foreign wine companies the possibility for long-term lease of vineyards from the state agricultural company SODEA. Several large Bordeaux-based wine companies, including Groupe Castel, William Pitters and Taillan, entered into such partnerships, which have been successful in reviving the Moroccan wine industry.