CLEVELAND, Ohio -- The four General Motors plants in Ohio, including the Lordstown plant that assembles the Chevrolet Cruze, and three plants in Indiana will be supplied with 100 percent green electricity by the end of 2018.

GM has signed two long-term contracts to buy electricity from two soon-to-be-built wind farms in Ohio and Illinois.

All of the power from the Ohio farm, rated at 100 megawatts, or 1 million watts, will go to GM facilities. One hundred megawatts of the 185-megawatt Illinois wind farm will go to GM.

The Ohio Power Siting Board approved the Ohio wind farm in late 2013, before the Republican majority in the Ohio General Assembly put the brakes on wind development in the state in 2014 by limiting the distance a wind turbine could be from the fields of property owners not participating in the wind farm. No developers have proposed new wind farms since the property set-back change was made.

Senate Bill 188, introduced last week in the middle of a wind farm under construction by Sen. Cliff Hite, R-Findlay, would reduce that distance and, say wind industry proponents, usher in a wind farm building boom. Some of the House Republicans are opposed to the legislation, which Hite describes as a compromise.

The GM power purchase agreements will lock in fixed prices for 12 to 15 years, said Collen Oberc, a spokeswoman for the company.

GM's corporate sustainability goal is to power all of its plants around the world with electricity generated by renewable technologies by 2050, she said. The two new power purchase agreements take the company to 20 percent of that goal.

The company has used renewable energy technologies for decades and has tried to reduce its power consumption by adoption of energy efficient technologies and practices.

The Lordstown assembly plant, for example, built an 8,500 solar panel array in 2014. The car maker completed a 1.8 megawatt rooftop array at its Toledo transmission plant less than a year earlier. The transmission plant was the first to use landfill gas to run on-site generators years ago, said Oberc.

The Northwest Ohio Wind Farm, which, according to GM, will be developed and owned by the Starwood Energy Group, will be located in Paulding and Van Wert counties.

The Illinois wind farm, Hill Topper Wind Project, will be built by Swift Current Energy.

GM is not releasing the terms of the contracts.

The two Midwestern wind farms are not the first for GM. The company has previously signed wind power purchase deals in Texas. Its Arlington, Texas, plant will use 100 percent green electricity, said Oberc.

GM's first wind farm contract was in Mexico, she said.