Described by
will.i.am as "party album[s]", Black Eyed Peas released the
electronic dance-influenced
The E.N.D. and
The Beginning in 2009 and 2010, following the
2008 election of
Barack Obama as
President of the United States. The band welcomed Obama's election; and often claims the song had helped Obama get elected. The band's most commercially successful
single during this period, "
I Gotta Feeling", was inspired by the band's perception of being "in the center of a ginormous change in America". The track became the
best-selling digital song of all time until it was surpassed by
Pharrell Williams' "
Happy" in 2014. By the end of 2010,
The E.N.D. had sold over eleven million copies worldwide, while
The Beginning had sold over two million copies worldwide. The band had intended to return to the studio to create their seventh studio album soon after the release of
The Beginning, though frequent delays and
Taboo's diagnosis with
testicular cancer in 2014, along with his subsequent treatment and recovery, led to the project being put on hiatus. The deteriorating political and social climate in the United States towards the end of
Obama's presidency caused concern in the band, with
deaths by law enforcement and the
unrest in
Ferguson,
Missouri, inspiring the band to write "Ring the Alarm" in 2014. In August 2016, the band released
a remake of "
Where Is the Love?", with updated lyrics and numerous featured artists, addressing topics such as the
Black Lives Matter movement,
gun violence in the United States, the
Syrian civil war and
refugee crisis, and
terrorism in Europe. The band purposed the remake as a "[call] for calm" that asked "to stop the hate and violence that has resulted in many lives lost." In 2017, Black Eyed Peas collaborated with
Marvel Comics to release
Masters of the Sun, a
science fiction superhero graphic novel that references social issues and street culture in
Los Angeles. The novel's adaptation for
augmented reality devices featured a downbeat
jazz and
soul soundtrack composed by
Hans Zimmer, which inspired the "mood" of the next Black Eyed Peas album. will.i.am was adamant about departing from the
pop-centric sound of
The E.N.D. and
The Beginning, to the dismay of the group's record label
Interscope. ==Composition==