The 25-hour-long encounter between security forces and the militants holed up inside the Income Tax office building in Srinagar ended on Saturday afternoon.The forces killed the two ultras, Deputy Inspector General of Police H K Lohia said.