James Potter was in Gryffindor, who's head of house was Minerva McGonagall. Even though he did get into trouble a lot and was regularly punished by Professor McGonagall, it seems that she was not only exasperated with him because of his mischievous behavior but very fond of him because of his talent. She seemed to have a good relationship with him, especially after he improved his behavior at the request of Lily Evans. She was devastated and unable to keep her composure for the first and only time throughout the series when she learned that he had died.