Rabat- A Moroccan accused of plotting to attack Harvard University and a federal building was sentenced to two years in prison in Connecticut, according to Reuters.