While the Somali government elected in 2012 attempted to gain more control and improve security, attacks on journalists continued. At least five reporters were attacked by militia groups loosely connected to the government, according to news reports. CPJ documented four journalists killed in direct relation to their work in Somalia, an improvement from 2012, which was the deadliest year on record with 12 journalists killed. In early 2013, the prime minister created a task force to investigate cases of killed journalists, but little had been done by the end of the year. The international community condemned serious flaws in the Somali justice system after a court imprisoned freelance journalist Abdiaziz Abdinuur for 66 days for interviewing the victim of an alleged rape who claimed security forces were the perpetrators. The staff of a critical daily in the semi-autonomous region of Somaliland was harassed over the year: The director was attacked, the paper temporarily suspended in June and again indefinitely in December, and the editor and director briefly jailed on defamation charges. The charges were later dropped. A new media law considered by local journalists as progressive was passed in the semi-autonomous region of Puntland in December.