Please read the following table in HTML format from a webpage and then answer the question in detail according to the table. Each table cell is defined by a <td> and a </td> tag. Each table row starts with a <tr> and ends with a </tr> tag. 'rowspan=m' and 'colspan=n' represents a cell spaning over 'm' rows and 'n' columns.

Webpage title:
James Corden
Table title:
Film
Table:
<table id='hittask' contenteditable='False'>
<tr> <th colspan=1 rowspan=1 > Year </th><th colspan=1 rowspan=1 > Title </th><th colspan=1 rowspan=1 > Role </th><th colspan=1 rowspan=1 > Notes </th></tr>
<tr> <td colspan=1 rowspan=1 > 1997 </td><td colspan=1 rowspan=1 > Twenty Four Seven </td><td colspan=1 rowspan=1 > Carl 'Tonka' Marsh </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 > 1999 </td><td colspan=1 rowspan=1 > Whatever Happened to Harold Smith? </td><td colspan=1 rowspan=1 > Walter </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=2 > 2002 </td><td colspan=1 rowspan=1 > All or Nothing </td><td colspan=1 rowspan=1 > Rory </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 > Heartlands </td><td colspan=1 rowspan=1 > Shady </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 > 2005 </td><td colspan=1 rowspan=1 > Pierrepoint </td><td colspan=1 rowspan=1 > Kirky </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td class="highlighted"  colspan=1 rowspan=3 > 2006 </td><td colspan=1 rowspan=1 > Heroes and Villains </td><td colspan=1 rowspan=1 > Sam </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td class="highlighted"  colspan=1 rowspan=1 > The History Boys </td><td class="highlighted"  colspan=1 rowspan=1 > Timms </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 > Starter for 10 </td><td colspan=1 rowspan=1 > Tone </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 > 2008 </td><td colspan=1 rowspan=1 > How to Lose Friends & Alienate People </td><td colspan=1 rowspan=1 > Post Modern Review Staff #2 </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=4 > 2009 </td><td colspan=1 rowspan=1 > Lesbian Vampire Killers </td><td colspan=1 rowspan=1 > Fletch </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 > Telstar </td><td colspan=1 rowspan=1 > Clem Cattini </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 > The Boat That Rocked </td><td colspan=1 rowspan=1 > Bernard </td><td colspan=1 rowspan=1 > Deleted scenes only </td></tr>
<tr> <td colspan=1 rowspan=1 > Planet 51 </td><td colspan=1 rowspan=1 > Soldier Vernkot (voice) </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=2 > 2010 </td><td colspan=1 rowspan=1 > Gulliver's Travels </td><td colspan=1 rowspan=1 > Jinks </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 > Animals United </td><td colspan=1 rowspan=1 > Billy the Meerkat (voice) </td><td colspan=1 rowspan=1 > English dub </td></tr>
<tr> <td colspan=1 rowspan=1 > 2011 </td><td colspan=1 rowspan=1 > The Three Musketeers </td><td colspan=1 rowspan=1 > Planchet </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=2 > 2013 </td><td colspan=1 rowspan=1 > One Chance </td><td colspan=1 rowspan=1 > Paul Potts </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 > Begin Again </td><td colspan=1 rowspan=1 > Steve </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 > 2014 </td><td colspan=1 rowspan=1 > Into the Woods </td><td colspan=1 rowspan=1 > The Baker </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=2 > 2015 </td><td colspan=1 rowspan=1 > Kill Your Friends </td><td colspan=1 rowspan=1 > Waters </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 > The Lady in the Van </td><td colspan=1 rowspan=1 > Street trader </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=2 > 2016 </td><td colspan=1 rowspan=1 > Norm of the North </td><td colspan=1 rowspan=1 > Laurence (voice) </td><td colspan=1 rowspan=1 > UK version </td></tr>
<tr> <td colspan=1 rowspan=1 > Trolls </td><td colspan=1 rowspan=1 > Biggie (voice) </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 > 2017 </td><td colspan=1 rowspan=1 > The Emoji Movie </td><td colspan=1 rowspan=1 > Hi-5 (voice) </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=3 > 2018 </td><td colspan=1 rowspan=1 > Peter Rabbit </td><td colspan=1 rowspan=1 > Peter Rabbit (voice) </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 > Ocean's 8 </td><td colspan=1 rowspan=1 > John Frazier </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=1 > Smallfoot </td><td colspan=1 rowspan=1 > Percy (voice) </td><td colspan=1 rowspan=1 >  </td></tr>
<tr> <td colspan=1 rowspan=3 > 2019 </td><td colspan=1 rowspan=1 > Yesterday </td><td colspan=1 rowspan=1 > Himself </td><td colspan=1 rowspan=1 > Post-production </td></tr>
<tr> <td colspan=1 rowspan=1 > Super Intelligence </td><td colspan=1 rowspan=1 > Super Intelligence (voice) </td><td colspan=1 rowspan=1 > Post-production </td></tr>
<tr> <td colspan=1 rowspan=1 > Cats </td><td colspan=1 rowspan=1 > Bustopher Jones </td><td colspan=1 rowspan=1 > Filming </td></tr>
</table>
Question:
In which title and in what year did James Corden first play the role of Timms in a film?
Answer:
In 2006, Corden played the role of Timms in The History Boys.