Phony lawyer sentenced to 4 years in prison