Wind power capacity edged out coal for the first time in the Texas history last week after a new 155-megawatt wind farm in Scurry County came online. The farm in question is the Fluvanna Wind Energy Project, located on some 32,000 acres leased from more than 130 landowners.

Fluvanna pushed total wind power capacity in the state to more than 20,000 megawatts, while coal capacity stands at 19,800 megawatts and is slated to fall to 14,700 megawatts by the end of 2018 thanks to planned coal powerplant closures. Next year, Luminant will shutter three coal-fired plants—Monticello, Sandow, and Big Brown—and San Antonio’s CPS Energy will close J.T. Deely Station. Wind capacity in the state will reach 24,400 megawatts by the end of 2018, according to projections from Joshua Rhodes, a research fellow at UT Austin’s Energy Institute.

But capacity is one thing, electricity generation is another. In the first ten months of 2017, wind generated 17.2 percent of power in the state, and coal 31.9 percent, according to ERCOT. But wind should soon see large gains there. “By our analysis, in 2019 we’ll have more energy from wind than coal,” Rhodes said.

The next hurdle for wind is improvements in batteries. “Without good storage, there is a limit to how much energy you can get from renewables,” Rhodes said. But impressive strides are being made, Rhodes added, pointing to a 100-megawatt lithium-ion battery that Tesla just switched on in the state of South Australia Friday. (The football-field-sized battery is the largest in the world. Tesla’s Elon Musk promised to deliver the finished $50 million battery within one hundred days of signing the contract, or it would be free. The company took only sixty days to complete the task.) Maybe some enterprising Texas mayor can give Musk a call next.

The Fluvanna Wind farm is located across the highway from Amazon Wind Farm Texas that came online in late October. That farm—built, owned, and operated by Lincoln Clean Energy—is the largest of Amazon’s eighteen existing wind and solar projects. Amazon has signed an agreement to buy 90 percent of the farm’s output to power its cloud data centers.

Amazon CEO Jeff Bezos marked the opening of his company’s farm in October by making his way to the top of one three-hundred-foot turbine, where he smashed a bottle of champagne beneath his feet. And, naturally, promptly posted the video footage to Twitter.