HBO has renewed comedy series “Veep” and “Silicon Valley.” The new seasons for both shows will premiere in 2018.

Currently in its fourth season, “Silicon Valley” has been nominated for 21 Primetime Emmy Awards and won two. The series, about a startup set in the cradle of the tech industry, stars Thomas Middleditch, T.J. Miller, Zach Woods, Kumail Nanjiani, Martin Starr, Josh Brener, Amanda Crew, Matt Ross, Jimmy O. Yang and Suzanne Cryer. Created by Mike Judge, John Altschuler, and Dave Krinsky, the series is executive produced by Judge, Alec Berg, Michael Rotenberg, and Tom Lassally.

In its sixth season, “Veep” is the winner of 12 Primetime Emmy Awards. The series stars Julia Louis-Dreyfus as the former vice president and president of the United States. Tony Hale, Anna Chlumsky, Matt Walsh, Reid Scott, Timothy Simons, Kevin Dunn, Gary Cole, and Sam Richardson also star. Created by Armando Iannucci, the series is executive produced by David Mandel, Frank Rich, Louis-Dreyfus, Lew Morton, and Morgan Sackett.

Both “Veep” and “Silicon Valley” are scheduled to end their current seasons June 25.