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:
Pakistani cricket team in Bangladesh in 2011–12
Table title:
1st Test
Table:
<table id='hittask' contenteditable='False'>
<tr> <td colspan=1 rowspan=1 > Bangladesh </td><td colspan=1 rowspan=1 > v </td><td colspan=1 rowspan=1 > Pakistan </td></tr>
<tr> <td class="highlighted"  colspan=1 rowspan=1 > 135 (51.2 overs) Nasir Hossain 41 (68) Abdur Rehman 3/9 (6.2 overs) </td><td colspan=1 rowspan=1 >  </td><td class="highlighted"  colspan=1 rowspan=1 > 594/5d (176.5 overs) Younus Khan 200* (290) Elias Sunny 3/123 (47 overs) </td></tr>
<tr> <td class="highlighted"  colspan=1 rowspan=1 > 275 (82.3 overs) Nazimuddin 78 (186) Abdur Rehman 4/88 (30 overs) </td><td colspan=1 rowspan=1 >  </td><td colspan=1 rowspan=1 >  </td></tr>
</table>
Question:
How was Bangladesh dismissed in the match?
Answer:
Bangladesh, needing 459 runs in the second inning improved on their first innings total 135, but were dismissed for 275.