Tens appeared in the series from 2005 to 2010, and Elevens from 2010 to 2013. Both actors, David Tennant and Matt Smith, were very popular in the role of the Doctor and their departure from the series was met with sadness by fans.
There are several reasons why Tens and Elevens left the series. One reason is that the actors simply wanted to move on to other projects. Another reason is that the show's producers wanted to keep the series fresh by introducing new characters and stories.
Whatever the reasons, Tens and Elevens will always be remembered as two of the most iconic Doctors in the history of the series.