A method for engineering a transgenic plant that replicates the nitrogen fixation mechanism of photosynthetic bacteria, such as cyanobacteria, or that of other bacteria, by targeting to or expressing in plant plastids bacterial nif (nitrogen fixation) genes is provided. A method for reducing the overall concentration of nitrogen in soil is provided using a plant that replicates the nitrogen fixation mechanism of photosynthetic bacteria. Progeny of a plant that replicates the nitrogen fixation mechanism of photosynthetic bacteria is also provided.Se proporciona un método para manipular una planta transgénica que replica el mecanismo de fijación de nitrógeno de bacterias fotosintéticas, como pueden ser las cianobacterias, o el de otras bacterias, dirigiéndose a o expresando en los plástidos vegetales genes Nif (fijadores de nitrógeno) bacterianos. Se proporciona un método para reducir la concentración total de nitrógeno en el suelo, empleando una planta que replica el mecanismo de fijación de nitrógeno de bacterias fotosintéticas. También se proporciona la progenie de una planta que replica el mecanismo de fijación de nitrógeno de bacterias fotosintéticas.