Sentences are typically determined by a judge, in a separate hearing, after the jury (or other finder of fact) has issued findings of fact and a guilty verdict. In some cases after the probation department has carried out a pre-sentence investigation. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.