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:
Daniel Wu
Table title:
Awards and nominations
Table:
<table id='hittask' contenteditable='False'>
<tr> <th colspan=1 rowspan=1 > Year </th><th colspan=1 rowspan=1 > Award </th><th colspan=1 rowspan=1 > Category </th><th colspan=1 rowspan=1 > Nominated work </th><th colspan=1 rowspan=1 > Result </th></tr>
<tr> <td colspan=1 rowspan=1 > 1998 </td><td colspan=1 rowspan=1 > 18th Hong Kong Film Awards </td><td colspan=1 rowspan=1 > Best New Performer </td><td colspan=1 rowspan=1 > City of Glass </td><td colspan=1 rowspan=1 > Nominated </td></tr>
<tr> <td colspan=1 rowspan=1 > 2003 </td><td colspan=1 rowspan=1 > 40th Golden Horse Awards </td><td colspan=1 rowspan=1 > Best Leading Actor </td><td colspan=1 rowspan=1 > Night Corridor </td><td colspan=1 rowspan=1 > Nominated </td></tr>
<tr> <td colspan=1 rowspan=1 > 2004 </td><td colspan=1 rowspan=1 > 41st Golden Horse Awards </td><td colspan=1 rowspan=1 > Best Supporting Actor </td><td colspan=1 rowspan=1 > New Police Story </td><td colspan=1 rowspan=1 > Won </td></tr>
<tr> <td class="highlighted"  colspan=1 rowspan=5 > 2005 </td><td class="highlighted"  colspan=1 rowspan=2 > 24th Hong Kong Film Awards </td><td class="highlighted"  colspan=1 rowspan=1 > Best Actor </td><td class="highlighted"  colspan=1 rowspan=1 > One Nite in Mongkok </td><td class="highlighted"  colspan=1 rowspan=1 > Nominated </td></tr>
<tr> <td class="highlighted"  colspan=1 rowspan=1 > Best Supporting Actor </td><td class="highlighted"  colspan=1 rowspan=2 > New Police Story </td><td class="highlighted"  colspan=1 rowspan=1 > Nominated </td></tr>
<tr> <td colspan=1 rowspan=1 > Golden Rooster Awards </td><td colspan=1 rowspan=1 > Best Supporting Actor </td><td colspan=1 rowspan=1 > Nominated </td></tr>
<tr> <td colspan=1 rowspan=2 > Golden Bauhinia Awards </td><td colspan=1 rowspan=1 > Best Actor </td><td colspan=1 rowspan=1 > One Nite in Mongkok </td><td colspan=1 rowspan=1 > Nominated </td></tr>
<tr> <td colspan=1 rowspan=1 > Best Supporting Actor </td><td colspan=1 rowspan=1 > New Police Story </td><td colspan=1 rowspan=1 > Nominated </td></tr>
<tr> <td colspan=1 rowspan=4 > 2007 </td><td colspan=1 rowspan=1 > 26th Hong Kong Film Awards </td><td colspan=1 rowspan=1 > Best New Director </td><td colspan=1 rowspan=4 > The Heavenly Kings </td><td colspan=1 rowspan=1 > Won </td></tr>
<tr> <td colspan=1 rowspan=1 > 7th Chinese Film Media Awards </td><td colspan=1 rowspan=1 > Best New Director </td><td colspan=1 rowspan=1 > Won </td></tr>
<tr> <td colspan=1 rowspan=2 > Hong Kong Film Critics Society Awards </td><td colspan=1 rowspan=1 > Best Director </td><td colspan=1 rowspan=1 > Nominated </td></tr>
<tr> <td colspan=1 rowspan=1 > Best Screenplay </td><td colspan=1 rowspan=1 > Nominated </td></tr>
<tr> <td colspan=1 rowspan=1 > 2009 </td><td colspan=1 rowspan=1 > 46th Golden Horse Awards </td><td colspan=1 rowspan=1 > Best Leading Actor </td><td colspan=1 rowspan=1 > Like A Dream </td><td colspan=1 rowspan=1 > Nominated </td></tr>
<tr> <td colspan=1 rowspan=1 > 2014 </td><td colspan=1 rowspan=1 > 6th Macau International Movie Festival </td><td colspan=1 rowspan=1 > Best Actor </td><td colspan=1 rowspan=2 > That Demon Within </td><td colspan=1 rowspan=1 > Nominated </td></tr>
<tr> <td colspan=1 rowspan=1 > 2015 </td><td colspan=1 rowspan=1 > 34th Hong Kong Film Awards </td><td colspan=1 rowspan=1 > Best Actor </td><td colspan=1 rowspan=1 > Nominated </td></tr>
</table>
Question:
During the 24th Hong Kong Film Awards, what awards were Daniel Wu nominated for, and for which roles did he earn those nominations, respectively?
Answer:
In 2005, Wu was nominated as best actor at the 24th Hong Kong Film Awards for his role in One Nite in Mongkok, and as best supporting actor for New Police Story.