How does someone get married in the foster care system?

If a foster child is wanting to get married. They will have to be of a legal age or be emancipated in court by a judge. If your looking to be a foster parent you always don't have to be married.Just depends on the agency's policy.