(CNN) -- A federal judge ruled Friday it is unconstitutional to close a number of abortion clinics in the state of Texas, effectively throwing out a key component of an anti-abortion law that has been considered one of the most restrictive in the country. In the ruling, U.S. District Court Judge Lee Yeakel wrote that closing the clinics would create an "impermissible obstacle to all women seeking a previability abortion."