The 2007 Porsche 911 was not electric. It was powered by a gasoline engine.
While Porsche has been a leader in developing electric vehicles, the 911 model line has traditionally been known for its powerful gasoline engines. The first electric Porsche 911, the "Taycan", was released in 2019.