Photo: Peter Kramer

Ahead of Wednesday night's season 3 finale, Mr. Robot has been renewed for a fourth season.

USA Network confirmed the news this morning, just hours before the season 3 closer, which airs tonight at 10 p.m. EST.

Earlier this week, Christian Slater earned his third consecutive Golden Globe nomination for his supporting role on the series. Meanwhile, star Rami Malek has previously received two Golden Globe nods for a Best Actor, winning Outstanding Lead Actor in a Drama Series at the 2016 Emmy Awards.

The fourth season of Mr. Robot would likely premiere sometime in 2018.