A class of exactly soluble N-particle Hamiltonians is presented. The matrix representation of these Hamiltonians, which consists of one- and two-body interactions, is block diagonal. The blocks consist of a finite-dimensional matrices which can be easily diagonalized. An example for a system with two particles is discussed.