Beaumont man sentenced to 25 years