A judge has ordered 15 years in prison for a man behind an acid attack on an Alamo teacher he formerly dated.