KARACHI — A Taliban suicide bomber rammed a truck packed with explosives into a compound housing a paramilitary force in Pakistan's largest city on Thursday, killing three officers and wounding 26. The attack underlined the deteriorating security in Karachi, the sprawling port city of 18 million people that is the nation's economic hub. Violence has escalated in recent years in the city as armed groups fight for control of land and resources, and militant groups like the Taliban have used the chaos to consolidate their foothold. Thursday's attack targeted a housing compound for the Rangers, a paramilitary force that is tasked with helping Karachi police maintain security in the city, said Javed Odho, deputy inspector general of the Karachi police. Three security personnel were killed and 26 were wounded in the explosion, said a spokesman for the Rangers, speaking on condition of anonymity in line with regulations. He said the blast would not deter the force from pursuing operations against militants in the city. Witnesses reported seeing a large plume of smoke rise into the sky from the residential block. Pakistani television showed images of the blast site, what appeared to be an apartment block with a gaping hole in the middle. A part of the two-story building was razed. — AP