You have the constitutional right to have your case tried by a jury of your peers. The court cannot impose a longer sentence simply because you chose to take your case to trial. However, trials that end in conviction often lead to longer sentences than those offered in plea agreements. The court may also order you to pay the costs of your prosecution. To avoid the expense of trial, prosecutors tend to offer reduced charges or shorter sentences in plea deals.