New York legally prohibited a child prodigy who graduated from a Florida law school at age 16 from taking the bar exam and practicing law in the state until he is 21, a federal judge has ruled.

However, in the case brought by Stephen A. Baccus, now a 19-year-old lawyer in Miami, U.S. District Judge Gerard L. Goettel declared unconstitutional a state provision requiring an aspiring attorney to be 18 before entering law school."Simply put, we think the prospective Mozarts of the legal profession deserve better," the judge wrote in a ruling made public Friday. Mozart was composing music by age 5.