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:
List of rulers of Austria
Table title:
Divided rule
Table:
<table id='hittask' contenteditable='False'>
<tr> <th colspan=1 rowspan=1 > Name </th><th colspan=1 rowspan=1 > Portrait </th><th colspan=1 rowspan=1 > Birth </th><th colspan=1 rowspan=1 > Marriages </th><th colspan=1 rowspan=1 > Death </th></tr>
<tr> <td colspan=1 rowspan=1 > Leopold III the Just 1379–1386 </td><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > 1 November 1351 Vienna fourth son of Albert the Wise and Joanna of Pfirt </td><td colspan=1 rowspan=1 > Viridis Visconti 23 February 1365 Vienna six children </td><td colspan=1 rowspan=1 > 9 July 1386 Sempach aged 34 </td></tr>
<tr> <td class="highlighted"  colspan=1 rowspan=1 > William the Courteous 1386–1406 </td><td colspan=1 rowspan=1 > - </td><td class="highlighted"  colspan=1 rowspan=1 > c. 1370 Vienna eldest son of Leopold the Just and Viridis Visconti </td><td colspan=1 rowspan=1 > Joan II of Naples 13 November 1401 Vienna no issue </td><td class="highlighted"  colspan=1 rowspan=1 > 15 July 1406 Vienna aged 36 </td></tr>
<tr> <td colspan=1 rowspan=1 > Leopold IV the Fat 1386–1411 </td><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > c. 1371 Vienna second son of Leopold the Just and Viridis Visconti </td><td colspan=1 rowspan=1 > Catherine of Burgundy 15 August 1393 Vienna no issue </td><td colspan=1 rowspan=1 > 3 June 1411 Vienna aged 40 </td></tr>
<tr> <td colspan=1 rowspan=1 > Ernest the Iron 1402–1406 </td><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > c. 1377 Bruck an der Mur third son of Leopold the Just and Viridis Visconti </td><td colspan=1 rowspan=1 > (1) Margaret of Pomerania 14 January 1392 Bruck an der Mur no issue (2) Cymburgis of Masovia 25 January 1412 Kraków nine children </td><td colspan=1 rowspan=1 > 10 June 1424 Bruck an der Mur aged 47 </td></tr>
<tr> <td colspan=1 rowspan=1 > Frederick IV of the Empty Pockets 1402–1406 </td><td colspan=1 rowspan=1 > - </td><td colspan=1 rowspan=1 > c. 1382 fourth son of Leopold the Just and Viridis Visconti </td><td colspan=1 rowspan=1 > (1) Elisabeth of the Palatinate 24 December 1407 Innsbruck one daughter (2) Anna of Brunswick 11 June 1411 Innsbruck four children </td><td colspan=1 rowspan=1 > 24 June 1439 Innsbruck aged 57 </td></tr>
</table>
Question:
Who succeeded Leopold III the Just as ruler of Austria when did he rule?
Answer:
William the Courteous (c. 1370 – 15 July 1406) succeeded Leopold III the Just as the Duke of Austria from 1386 until his death in 1406.