Breakthrough and rising popularity
In 2009, Kim was cast as one of the supporting characters in the historical drama Queen Seondeok, in a role that would soon change his life. It became one of the highest-rated TV series of that year (reaching a peak of over 40%), and Kim became a household name and the series' breakout star. For his portrayal of the playful but tragic Bidam, Kim said he was inspired by comic book characters such as Han Bi-kwang in Ruler of the Land, Miyamoto Musashi in Vagabond, and Kang Baek-ho in Slam Dunk. The writers rewrote the script to respond to Bidam's popularity with the viewing audience, giving the character more screen time and emphasizing his romance with the titular Seondeok (despite the incredible historical inaccuracy), until there were two main male leads in the series. A horse-riding-related injury on set, and a brief hospitalization due to H1N1 flu, were minor negatives compared to the impact the series had on Kim's career. He won several awards for his performance, gained more local and international fans, received advertisement offers, and was flooded with film and TV scripts.
Another side benefit of Kim's popularity resulting from the Seondeok was the theatrical release in 2010 of his indie Lovers Vanished, a relationship drama which the director described as a "Korean Leaving Las Vegas." In 2010 he played an antihero lead role in Bad Guy, a dark melodrama about revenge, ambition, and fatal love. But while still in the middle of filming, Kim received his draft notice for mandatory military service. He tried to ask for deferment in order to wrap up the shoot for the series, but it was not granted. Kim shot as much as he could (his scenes were reduced, and a body double was also used) then entered the army two days later on July 15, 2010. He received four weeks of basic training at Nonsan, and served for two years as a public service worker.
Following his discharge from the army in 2012, Kim produced the film Ensemble, a music mockumentary about a group of classical musicians who form a group and take to the streets to perform outside their usual concert halls, showing their youthful passion in making music accessible. It premiered at the Jecheon International Music & Film Festival. He was also one of four celebrities in 2013 who directed a short film using smartphone Samsung Galaxy S4 with the theme "Meet a Life Companion"; his short Hello, Mom depicted the love between a mother and her daughter, and evoked the warm feeling of an analog film. This was followed by the 2014 period adventure film The Pirates, which reunited him with Shark costar Son Ye-jin. In 2013 Kim starred in the revenge TV series Shark (also known as Don't Look Back), from the makers of Resurrection and The Devil. He next starred opposite award-winning actress Jeon Do-yeon in the 2015 thriller The Shameless; Kim played a detective who falls for the girlfriend of the murderer he is investigating. The Shameless had its world premiere at 2015 Cannes Film Festival in the Un Certain Regard section. Nam Gil was next cast as powerful nobleman Heungseon Daewongun whose concubine takes up pansori in the period film The Sound of a Flower.