Male homosexuality is illegal in Pakistan and punishable with up to life in prison. In its 2018 Press Freedom Index, Reporters Without Borders ranked Pakistan number 139 out of 180 countries based on freedom of the press. Television stations and newspapers are routinely shut down for publishing any reports critical of the government or the military.