 As of 2007, there are thirty-four "comarques" (including the city of Valencia), with a median population of 87,788 and a median area of 665.11 km2.The current organization was approved in 1987 by the Generalitat, when three categories of "homologous territorial demarcation" were established.Article 65 of the 2006 Statute of Autonomy provides the first legislative foundation for the "comarques", although, as of April 2007, the enabling legislation has not been passed by the Corts Valencianes.