Lamar began releasing music under the stage name K.Dot while he was attending high school. He signed with Top Dawg Entertainment (TDE) in 2005, where he co-founded the hip hop supergroup Black Hippy. Following the success of his alternative rap debut album Section.80 (2011), Lamar secured a joint contract with Dr. Dre's Aftermath Entertainment and Interscope Records. He rose to prominence with his gangsta rap-influenced second album Good Kid, M.A.A.D City (2012) and its top 40 singles "Swimming Pools (Drank)", "Poetic Justice" and "Bitch, Don't Kill My Vibe". It is the longest-charting hip hop studio album on the Billboard 200, spending over ten consecutive years on the chart, where it still remains.