In many instances, individuals who have been previously ordered removed by the Immigration Judge retain a limited ability to stop deportation by way of adjustment of status based on their marriage. Marrying a U.S. citizen while in a removal proceeding does not automatically stop or prevent you from being deported. First of all, you will need to proof that the marriage is genuine and not for immigration benefits as the law presumes otherwise. Assuming you're qualified for a marriage based green card, if you entered the U.S. illegally, you may not be able to adjust your immigration status to a green card status within the U.S. In that case, you may need either a provisionally waiver or I-601 hardship waiver to reenter the U.S. There are many hurdles that you need to overcome and you should talk to an experienced immigration lawyer in order to understand the benefits and risks involved in the process. In short, if you qualify for a green card, an Immigration Judge can adjudicate your application. There are several considerations and eligibility requirements, so be sure to consult an immigration attorney for help with any application in Immigration Court.