Arsenal confirmed the news themselves on their website in a statement that said: "Pierre-Emerick Aubameyang has signed a new three-year contract with us!"
After scoring the goals that fired Arsenal to last season's surprise FA Cup semi-final and final victories over Manchester City and Chelsea respectively, Aubameyang had refused to confirm if he wanted to stay at the north London club.
At one stage last term, he admitted he faced a big decision over his future, fuelling reports that he was ready to leave amid interest from Paris Saint-Germain and Barcelona.
But Arsenal manager Mikel Arteta remained confident Aubameyang was happy at the club and wanted to stay.
Over 100,000 people were watching the announcement via the official Arsenal Instagram account, with Aubameyang adding: "I signed the thing because I want to become an Arsenal legend, maybe leave a legacy, it is the time to work a lot.
"For sure, I will give my best, as always, so yes, I have just signed the thing. Hopefully you are happy and I can't wait to see you in this beautiful stadium again."
Aubameyang was joined on the call by former Arsenal striker Ian Wright and his current team-mate Alexandre Lacazette, who praised his decision to sign the contract.
Aubameyang moved to Arsenal from Borussia Dortmund in January 2018 and has scored 72 goals across 111 games in all competitions, including one in Saturday's 3-0 victory at Fulham on the opening day of the new season.
Acknowledging the significance of keeping Aubameyang, Arteta said: "It was important for Pierre-Emerick to stay with us.
"He's a superb player with an incredible mentality. Being the player to have taken the least amount of time to reach 50 goals with this club tells you everything you need to know about him and his way of working."