Longstreet was also a disciplinary problem at West Point. He earned a large number of demerits, especially in his final two years. His offenses included visiting after taps, absence at roll call, an untidy room, long hair, causing a disturbance during study time, and disobeying orders. Biographer Jeffry D. Wert says, "Longstreet was neither a model student nor a gentleman." He was popular with his classmates, however, and befriended a number of men who would become prominent during the Civil War, including George Henry Thomas, William Rosecrans (his West Point roommate), John Pope, D. H. Hill, Lafayette McLaws, George Pickett, and Ulysses S. Grant, who was of the Class of 1843. Longstreet was commissioned a brevet second lieutenant. After a brief furlough, he set out to join the 4th U.S. Infantry at Jefferson Barracks, Missouri. Longstreet spent his first two years of service at the post, which was under the command of Lt. Col. John Garland. In 1843, he was joined by his friend, Lieutenant Ulysses Grant. In 1844, Longstreet met his future first wife Maria Louisa Garland, called Louise by her family. She was the daughter of Longstreet's commander, Lt. Col. Garland.